speed up lex sorts