convert 'less' signature for Sort, Min, Max to two items instead of slice & two indexes