Try this example:
//window -e @win | echo @win d b c | echo @win c a b | echo @win a d a | echo @win b c d | filter -twwc 1 32 @win @win
Here the lines are sorted by the first word. If your "columns" are separated by $chr(9) - TAB - use "-t 1 9" instead of "-t 1 32".