Connecting Tech Pros Worldwide Help | Site Map

sorting an array.. need help

  #1  
Old January 30th, 2006, 05:35 AM
namemattersnot@msn.com
Guest
 
Posts: n/a
re,

i have the following array:

files['name'][1]
['size'][1]
['time'][1]
files['name'][2]
['size'][2]
['mtime'][2]
...etc.

how do I sort this array according to "time" index? so that, for
example, files['name'][0] would give "my_file.txt" that was last
created?

thank you in advance!

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
help with sorting an array.. PillarOfCreation answers 2 November 29th, 2007 06:13 PM
sorting an array.. need help namemattersnot@msn.com answers 2 January 30th, 2006 05:05 PM
Sorting an array list containing objects? Rob Meade answers 2 January 10th, 2006 03:05 PM
sorting an array of three kinds of stones meital answers 17 November 14th, 2005 02:25 PM