Re: Sorting an array
"Littlefield, Tyler" <[email protected]>
| Newsgroups | gmane.comp.windows.autoit.user |
|---|---|
| Message-ID | <003001c77530$5e0f9cf0$6401a8c0@blanchew2fs98i> |
What you'll probably have to do, is split it, and soart that way, though I'm not sure. dim $array[5, 2, 6, 1, 7, 1, 8, 10, 42, 64, 21, 43, 64, 75, 2, 5, 6] then, _ArraySoart($array) By default, it will return the array in assending order, and it runs by reference so... ----- Original Message ----- From: "Sensei J. Richard Kirkham B.Sc" <[email protected]> To: <[email protected]> Sent: Sunday, April 01, 2007 8:27 PM Subject: [AutoIt] Sorting an array > I have sections in an ini file that are the date modified YYYYMMDDHHMMSS > > If I use IniReadSectionNames > > I can get it into an array. I need to go from newest to oldest and I'm stuck on using the array sort function. Can someone give me an example since I've already got this into an array? > > Thanks > > Rick > > > Martial Arts Ebooks Books DVDs and Videos Updated Solo Martial Arts Drills > http://kirkhamsebooks.com/MartialArts/index.htm > > > > Yahoo! Groups Links > > >