Forum OpenACS Q&A: Response to Sorting list of arrays by value

Collapse
Posted by Tilmann Singer on
Check out lsort -index, to sort a list of lists depending on a specific value in the inner list. You need to somehow construct a list like this {{id percentage} {id percentage}}, which unfortunately array get won't give you, but there are numerous other ways to do that.