Fix sorting now that some versions have only 1 dot