Results 1 to 11 of 11
Thread: Help with custom sorting
Oct 26, 2010, 14:11 #1
- Join Date
- Jul 2008
- 0 Post(s)
- 0 Thread(s)
Help with custom sorting
Our site has many documents whose titles are indexed in this format:
1-1, 1-2, 1-2A, etc., 1-11, 1-12, 2-1, 2-2, 2-3A, 2-10, etc.
(The actual titles follow the format "Procedure 1-5 Smoking in the Workplace")
I've been trying to devise a custom sort in VBscript that will treat, say, 2-10 as numerically greater than 2-1. This would also mean that 10-1 would have to be greater than 2-1. I'm not necessarily looking for code examples, but mostly for sorting techniques to solve this problem.