properly sort feature flags by label