CAdvBanner :: arr_comp_uniform: Bitrix method

      
<?php 
//  CAdvBanner :: arr_comp_uniform()
//  /dist/bitrix/modules/advertising/classes/general/advertising.php:3036

    
public static function arr_comp_uniform($a$b)
    {
        if (
$a["val"] < $b["val"])
            return -
1;
        elseif (
$a["val"] > $b["val"])
            return 
1;
        else
            return 
0;
    }