Support for reading 2.1 log files and upgrading from 2.1 store files

Is it save to make lexicographical comparison of version strings from the long term perspective?