RosettaCodeData/Task/Sort-stability/Lasso/sort-stability-1.lasso
2016-12-05 23:44:36 +01: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 => { … }