Hello,

 

I have a record type array similar to below:

 

Type

            THeader = record

                        Description: string[100];

                        Temp: string[100];

                        Sort: Integer;

                        Type: byte;

            End;

 

            THeaderArray = array of TTemplateHeader;

 

 

I sort using the Sort field, but on some collections the Sort will be zero, so then I’d like to sort on the Description (alphanumerically).

 

Question: How can I sort this, or what would be the best method to do this?

 

Jason

_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to