Add sorting to the versions