[thelist] Ordering a recordset by an array

Anthony Baratta Anthony at Baratta.com
Tue Oct 14 12:02:03 CDT 2003


At 09:04 AM 10/14/2003, Ben Gustafson wrote:

>and put the records in the order of the three numbers, so that the record
>with an id of 15 is first, and the one with an ID of 7 is second, etc. The
>numbers will be pulled from a text file using the FileSystemObject in ASP
>Classic. I am using JavaScript as my server-side scripting language.

What you'll need to do is add a "display sequence" column in your data list 
and sort by that. When you want to drop the bubble sort method, you can try 
the QuickSort Method:

http://www.evolt.org/article/Quick_and_Dirty_ASP_Array_Sorting/17/21724/index.html


-- 
Anthony Baratta
President
Keyboard Jockeys

"Conformity is the refuge of the unimaginative."



More information about the thelist mailing list