Update: If there is for each record status is only one letter, then I misunderstood string 'P|F|C|D|I|A|N|R|S|X' and '|' stands for 'or'. In such case see blazar's post.And if so the example code I provided there could be further simplified: no substituion at all should be necessary. Just hash lookup.
In reply to Re^4: Sorting Issue
by blazar
in thread Sorting Issue
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |