use comparison function to preserve stated order of versions for WEB-9143 +review WEBCR-323