Searched refs:comp_func (Results 1 – 1 of 1) sorted by relevance
304 shaker_sort: function(list, comp_func) { argument315 if ( comp_func(list[i], list[i+1]) > 0 ) {325 if ( comp_func(list[i], list[i-1]) < 0 ) {