saltstack/salt — comment on commit ec6d5ef86051fa458d5ee3a71da757fafa0e3c8f
File:  line 0
By ewsnow:

FYI, sorted() can handle iterables, so you can just do 'sorted(ret)'