Lexical outline sorter.