Ensure versions are consistently ordered on save
Ensure consistent ordering on Locations
Make comparisons null-safe
Ensure consistent ordering of encodings
Merge pull request #187 from atlasapi/version-consistent-ordering

Version and encoding consistent ordering