in reply to Alphabetical Order

The simplest way to do this is to make sure the file, category.dat, is sorted according to company name.

Is the file used by other processes? How often is the file modified? How complicated would it be to have the script which modifies the list insert new entries by sorting order?

TomDLux