std: implement lexicographical Ord for TreeMap/TreeSet