Array (List) functions

By Eric Oud Ammerveld (PS10) on 9 Mar 2011

Since array functions are usually 'quicker' than database functions, I'd really like to see some additions like:

- ListSort(List,"Fields") ; QuickSort on chosen Array fields

- ListInvert(List) ; Invert the order of the Listed items

Gonçalo Almeida12 Mar 2011

I agree with this. Beeing able to sort RecordLists by a specific field (or group of fields) would be amazing.

Together with this idea -> 
J.27 Sep 2011
Not sure on the ListSort, simply one assumes strings/numbers then.

It would be really awesome if you could do something like

ListSort(List, <CompareAction>) where CompareAction is an Custom-made action with 2 input-parameters of the structure of the list and in there you create the compare you want
David Salvador6 Oct 2016


I'm happy to announce that your idea is already available on the last release of the OutSystems platform 10.

Thank you for your time and collaboration in making OutSystems platform better.