RosettaCodeData/Task/Sort-stability/Lasso/sort-stability-1.lasso
2023-07-01 13:44:08 -04:00

8 lines
265 B
Text

//Single param array:
array->sort
//An array of pairs, order by the right hand element of the pair:
with i in array order by #i->second do => { … }
//The array can also be ordered by multiple values:
with i in array order by #i->second, #i->first do => { … }