in reply to Index sorting

Hmm. I thought I understood what you're trying to achieve, but then I noticed that you have the tertiaries order thusly in the desired output:
asymmetric modes Cauchy condition baffle, annular boundary conditions, Neumann canals, circular
Why is "Cauchy" in that position? Or was that merely a mistake?