Fix sorting versions. Fix #60