Compares strings by length and then lexicographically.
assert(smallerStringFirst("aa", "bb") == true); assert(smallerStringFirst("aa", "aa") == false); assert(smallerStringFirst("aaa", "aa") == false);
See Implementation
Compares strings by length and then lexicographically.