|
-
Feb 2nd, 2003, 08:39 PM
#1
Thread Starter
New Member
Sorting collection [resolved]
I have a collection of classes which I routinely access through a for each...next loop. My problem is that this loops through each object sorted by index, and I need to sort them by key. Is there a way to do this?
Last edited by capable_coder; Feb 3rd, 2003 at 01:03 AM.
-
Feb 2nd, 2003, 09:10 PM
#2
Sleep mode
Re: Sorting collection
Originally posted by capable_coder
I have a collection of classes which I routinely access through a for each...next loop. My problem is that this loops through each object sorted by index, and I need to sort them by key. Is there a way to do this?
I'm not sure if hashtable would do this but it has the ability to sort and restore by index (as I remember)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|