DDF-817 Adding alphabetical sorting to configs and features

The configuration pages (both module level and application level) and feature pages (both module level and application level) are now ordered alphabetically.
I believe fetch() is asynchronous, so how is this working attempting to sort something that may or may not be loaded yet? Shouldn't sort() be inside the success function? Also, it appears that these success functions are essentially copy and pasted 3 times. Can we clean up this duplicate code please?