Lexicographically order output.