fun compare(version1: String?, version2: String?): Int
Compares its two versions for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
version1 - the first version to be compared.
version1
version2 - the second version to be compared.
version2