Remove unnecessary map and sort.
Fix test; since available_versions already returns a sorted list, we need to return a sorted list in the stub too.
Merge branch 'CHEF-4022' of github.com:juliandunn/chef into CHEF-4022