lexer ordering based on priority