Sort versions with semver.compare
0.5.2