Add version one of version_sort method