the returned list is in the order registered    the order registered for CRDs is the order listed in the CRD spec.versions list    the order registered for in-tree resources is the order installed, which is the order we list in discovery (for example, deployments prefers this order: extensions/v1beta1, apps/v1, apps/v1beta1, apps/v1alpha1)    that order seems reasonable to me