The TStrings type associates every string it contains with an object.
I am interested in getting a new data type in which every string is associated with an integer and not associated with an object. Therefore, every item in this new type should include a string and an integer (and nothing else).
This new type, like TStrings, should be derived from TPersistent (that's the most important point).
Furthermore, the new type should retain *all* the functionality normally provided by TStrings, wih the functions normally associated with objects being transfered to the integer associated element (that is, e. g. GetOBject should become GetInteger, and so on).
I would also like this new type to be able to sort based either on the strings or on *their associated integers*. The available sorting should be either ascending or descending.
I know this is hard, and that's why I award ***300 points*** for this (I would have offered more, but 300 is the upper limit).
Is anyone up to the job?