sheilawoodward
04-07-2006, 03:01
Hi,
I am using IDataUtil.sortIDataArrayByKey to sort a document list. The sort works fine except where the key to be sorted on contains entries that start with capitals and small letters, see example below:
Customer name sorted list:
Alpha
Beta
Gamma
aerospace
This example can actually happen as some of our customer companies have names that start with small letters.
Any advice on how I can get the list to sort totally alphabetically.
I should also add at this point that the service is generic, so I have no idea of the structure of the array being sorted or the key that will be used.
Thanks for taking the time to read this.
She:p
I am using IDataUtil.sortIDataArrayByKey to sort a document list. The sort works fine except where the key to be sorted on contains entries that start with capitals and small letters, see example below:
Customer name sorted list:
Alpha
Beta
Gamma
aerospace
This example can actually happen as some of our customer companies have names that start with small letters.
Any advice on how I can get the list to sort totally alphabetically.
I should also add at this point that the service is generic, so I have no idea of the structure of the array being sorted or the key that will be used.
Thanks for taking the time to read this.
She:p