DEPL-5298 Sorted environments list

Slightly improved version of PR: https://github.com/jenkinsci/deployit-plugin/pull/9