Hi Michel, Probably too obvious but if you have control of creating the array, would it be possible to just add the final field to the front on the array element and then arraysort should work.
Mike T On 1/19/06, Michel Deloux <[EMAIL PROTECTED]> wrote: > > Hi all > > I have an array with elements like this: > > > 1 02/03/2006||3||Seattle||20||ATT||o||Overwrite||390||20060203 > 2 02/07/2006||3||Seattle||20||ATT||a||Append||390||20060207 > 3 01/26/2006||6||Phoenix||20||ATT||o||Overwrite||390||20060126 > > I need to sort this elements in date format using the final > variable(yyyymmdd). The final result: > > 1 01/26/2006||6||Phoenix||20||ATT||o||Overwrite||390||20060126 > 2 02/03/2006||3||Seattle||20||ATT||o||Overwrite||390||20060203 > 3 02/07/2006||3||Seattle||20||ATT||a||Append||390||20060207 > > What do you suggest? > > Cheers > > MD > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230013 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

