use more of __rvm_version_sort, fix #2676