btisdabomb
Member
- Joined
- Jul 12, 2006
- Messages
- 16
- Programming Experience
- Beginner
I have a sting array that I need to sort in a certain order. The array can contain but may not always contain each of the following...
CoverPage
TOC
ReportName1
...
ReportName10
These items are in the array in random order. I need to sort them in the order listed above. The array might only contain 3 items (Reportname6, CoverPage, ReportName 9) but it will still need to be sorted in the above order for each item that exists in the array.
Hopefully that makes sense... If not I can try and explain better.
How would I go about doing that?
CoverPage
TOC
ReportName1
...
ReportName10
These items are in the array in random order. I need to sort them in the order listed above. The array might only contain 3 items (Reportname6, CoverPage, ReportName 9) but it will still need to be sorted in the above order for each item that exists in the array.
Hopefully that makes sense... If not I can try and explain better.
How would I go about doing that?