diff --git a/grace-shell/src/main/groovy/org/grails/cli/profile/commands/CreateAppCommand.groovy b/grace-shell/src/main/groovy/org/grails/cli/profile/commands/CreateAppCommand.groovy index 6f958d0039..6a4801d73c 100644 --- a/grace-shell/src/main/groovy/org/grails/cli/profile/commands/CreateAppCommand.groovy +++ b/grace-shell/src/main/groovy/org/grails/cli/profile/commands/CreateAppCommand.groovy @@ -570,7 +570,7 @@ class CreateAppCommand extends ArgumentCompletingCommand implements ProfileRepos return (profile.features.findAll { Feature f -> validFeatureNames.contains(f.name) } + profile.requiredFeatures).unique() } - (profile.defaultFeatures + profile.requiredFeatures).unique() + (profile.defaultFeatures + profile.requiredFeatures).unique().sort() } protected String getDefaultProfile() {