Results 1 to 2 of 2

Thread: Sorting Collection Items

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2001
    Location
    USA
    Posts
    1,026

    Sorting Collection Items

    As per one VBForums user's recommendation, I decided to use a collection to create an array of objects...

    Now I have but one more thing that I need to know...

    I have a property called "Number" that is an integer or double (doesn't matter really)...

    I would like to sort all of the items in my collection in ascending order according to the value of this property...

    Which sort method should I research...

    Speed is not a major issue here, anything will work really.

    Thanks again,

    Squirrelly1
    Now happily married and still crankin' away at the keyboard. Life is grand for a coder, no?

  2. #2

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2001
    Location
    USA
    Posts
    1,026
    Ooh, Ooh... I got it!!!


    Nevermind dudes... This is pretty simple to implement


    Squirrelly1
    Now happily married and still crankin' away at the keyboard. Life is grand for a coder, no?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width