Connecting Tech Pros Worldwide Help | Site Map

sorting an array.. need help

namemattersnot@msn.com
Guest
 
Posts: n/a
#1: Jan 30 '06
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