user/plugins/simplesearch/simplesearch.php
// Comparing function for sorting with result
Comparing function for sorting with result
Comparing function for sorting with result
function compare($first, $second)
    {
        if ($first.result == $second.result) {
            return 0;
        }
        return ($first.result < $second.result) ? -1 : 1;
    }
function compare ( $ first , $ second ) { if ( $ first . result == $ second . result ) { return 0 ; } return ( $ first . result < $ second . result ) ? - 1 : 1 ; }
Comparing function for sorting with result
Comparing function for sorting with result