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