Sorting Record Lists

Sorting Record Lists

  
What is the best method of sorting a record list data structure (by any of of its data columns/fields), given the record list may be populated by say 2 or more sources (e.g. a query on the data base, and a call out through an external web service to collect more data) ?

thanks in advance
Declan
Hi Declan,

there is no built-in way to sort a recordlist in OutSystems product. You will have to implement a sort action like the one in the "Sample sorting algorithms in Service Studio" post.

If you have any trouble doing it, drop me a line.
The Sort algorithm (if written using the Integrated Studio application, as an extension) will require that the exact known data-type of the record list record, is given in the input and output paramaters. This will require writing a sort method for each of the possible datatypes that the application may have?
Is there any other more-generic approaches to solving this problem?