|
-
Sep 30th, 2003, 11:26 AM
#1
Thread Starter
Addicted Member
How can I sort an array of structures [resolved]
I have an array of structures and I need to sort by one property of that structure. Is there any easy way to do this? I know that I can loop through the structure and shuffle them one at a time, but that would take forver.
PHP Code:
Private Shared m_Bookmarks() As Bookmark
Public Structure Bookmark
Public Name As String
Public FieldA As String
Public FieldB As String
Public FieldC As String
End Structure
I have a fully functional app using this stuff, but now I need to sort the items based on Name, FieldA, FieldB, etc.
Any ideas?
thanks,
Last edited by Shurijo; Sep 30th, 2003 at 11:39 AM.
-Shurijo
-
Sep 30th, 2003, 11:39 AM
#2
Thread Starter
Addicted Member
Heh, go figure. As soon as I given up on Google, I find what I was looking for....
http://msdn.microsoft.com/msdnnews/2.../Classroom.asp
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
|