Create two stringlists. Read data into the first one and set the list to sorted. Create the second list, but don't set it to sorted. Read the lines from the bottom and up of the first list and add the items one by one to the second list. I'm sure there is an easier way, but this one works ok.
Roger Utleiemegleren Forvaltning AS Norway -----Opprinnelig melding----- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne av Moore, Chris ( BIUK ) Sendt: 19. september 2007 18:34 Til: Borland's Delphi Discussion List Emne: Sort backwards Hi list, I am using sort on a tStringList to sort a tStringGrid. Works great, now I want to sort descending, other tnhan standing my tStringList on its head, is there a way to make sort sort backwards? Cheers - Chris _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

