It is an old, old technique, HC-old, that one can perform compound stable sorts of the form, for example:
Code: Select all
sort lines of tList by word 1 of each & word 2 of each & word 3 of each
Code: Select all
ABC DEF XYZ
ABD DEF XYZ
ABC BCD XYZ
AAA XYZ ZZZ
Code: Select all
AAA XYZ ZZZ
ABC BCD XYZ
ABC DEF XYZ
ABD DEF XYZ
Code: Select all
ABC XXX XYZ
AB XXX XYZ
??
Craig