VersionComparator: added a method which orders two versions