I know how to write sorts for most kinds of variables, but can anyone suggest the best way to sort a file of strings... or add a new string into the file and still keep all the records in alphabetical order.
Cheers, Sam -- ------------------------- sam.wes...@ukonline.co.uk
Lionel Delafoss
Delphi Developer
Wed, 18 Jun 1902 08:00:00 GMT
Re:Sorting files
You can have a look to "Sort Factory". On this site you will find a TP source to sort strings and an other (in Delphi) to sort a text file.
Sam a crit dans le message <7hpitu$ef...@apple.news.easynet.net>...
Quote
>I know how to write sorts for most kinds of variables, but can anyone >suggest the best way to sort a file of strings... or add a new string into >the file and still keep all the records in alphabetical order.