Determine the sorting key for each of the fields and use quick sort? If the field you’re sorting by is a name for example then use alphabetic order. Sounds like a generic sorting by comparison problem and doesn’t require any specific library.
> On Jan 3, 2018, at 10:09 PM, Dennis <[hidden email]> wrote:
> I have a list of records (each with a few fields).
> I want to let users display this list of records in ascending orders of any record field.
> Is there any existing units/library I can use?
> Thanks in advance.
Santiago A. wrote:
> El 03/01/2018 a las 16:09, Dennis escribió:
>> I have a list of records (each with a few fields).
> What do you mean with list?
> A TList? You can use sort method
Thanks for the reminder. I forgot about it.