Add lexical sorting