I have a dbf field that contains data for sizes of garment
"L,M,S,XL,XXL,4XL,5XL,XS,XXXL"
"M,L,S,XL"
the correct sort order would be
"XS,S,M,L,XL,XXXL,4XL,5XL"
"S,M,L,XL"
The sortoptions to compare with :
"XS,S,M,L,XL,XXXL,3XL,4XL,5XL"
Now I think of making a for/next and see where I end, but maybe there is again a 1 or 2 liner to do it.