diff --git a/assets/javascripts/discourse/components/wizard-subscription-selector.js.es6 b/assets/javascripts/discourse/components/wizard-subscription-selector.js.es6 index 2202f746..d6db8875 100644 --- a/assets/javascripts/discourse/components/wizard-subscription-selector.js.es6 +++ b/assets/javascripts/discourse/components/wizard-subscription-selector.js.es6 @@ -67,6 +67,18 @@ export default SingleSelectComponent.extend(Subscription, { requiredSubscriptionType ), }; + }).sort(function(a, b) { + if (a.subscriptionType && !b.subscriptionType) { + return 1; + } + if (!a.subscriptionType && b.subscriptionType) { + return -1; + } + if (a.subscriptionType == b.subscriptionType) { + return a.subscriptionType ? a.subscriptionType.localeCompare(b.subscriptionType) : 0; + } else { + return a.subscriptionType === 'standard' ? -1 : 0; + } }); },