sorting an array.. need help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • namemattersnot@msn.com

    sorting an array.. need help

    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.tx t" that was last
    created?

    thank you in advance!

Working...