http://en.wikipedia.org/wiki/Shortlex_orderIn the context of strings on a totally ordered alphabet, the shortlex order is identical to the lexicographical order, except that shorter strings precede longer strings.
http://en.wikipedia.org/wiki/Shortlex_orderIn the context of strings on a totally ordered alphabet, the shortlex order is identical to the lexicographical order, except that shorter strings precede longer strings.