using alphabetical order for lexer term

this way we can use ordsets and the like to retrieve attributes.
Also it makes it easier to add new properties (if needed).