[thelist] sorting VBScript array

Tab Alleman Tab.Alleman at MetroGuide.com
Mon Sep 15 08:58:36 CDT 2003


Joel D Canfield wrote:
> It doesn't seem like it should be so tough, but I'm stumped. I'm
> parsing the contents of a CSV file into an array, which I'd like to
> sort in ascending order (all values are floating point numbers.) All
> I want for now is to end up with the same numbers, same size array,
> but in ascending order.

Do you have any way of sorting the data before you create the array,
like maybe using ADO to bring the data from the csv to a pre-sorted
recordset?


More information about the thelist mailing list