Array (List) functions
4955
Views
5
Comments
Implemented
Builtin & User functions
OutSystems 10

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

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


Together with this idea -> https://www.outsystems.com/ideas/671/ 
2016-04-21 20-09-55
J.
 
MVP
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

Hi!


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.

Can some one please add here an example of the sintax?

Where is the ListInvert?