Fix VersionSorter small bug