Yes that would be lovely. Even 4D is better in this respect.

I personally would be happy if only they allowed a "SortOn" keyword for
object arrays, where we would specify a particular property that has a
sortable datatype, as the thing to sort on.

So for an array  myAddresses() we could write

myAddresses.SortOn PostCode

Where Postcode is the name of a string property defined within the class.

A simple but useful and quick alternative to using comparator methods (
which are a bit of a pain )


Dan


On 17/5/06 16:44, "Norman Palardy" <[EMAIL PROTECTED]>
wrote:

> Another nice thing would be to have built in comparator interface
>> which if inplimented, an array of the implementing class could be
>> sorted with Array.Sort and Array.SortWith
> 
> I asked for something like that too (2 years ago)

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to