use correct sort syntax
Performance fixes around retrieving apps and domains
Merge pull request #1375 from danmcp/master

Merged by openshift-bot