A key encoding strategy for semver strings, designed for use with leveldb and other lexicographic sorting scenarios