[fpc-pascal] any existing units/libraries for sorting?
ryan at thealchemistguild.com
Wed Jan 3 16:24:15 CET 2018
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 <dec12 at avidsoft.com.hk> 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.
More information about the fpc-pascal