sort dependencies alphabetically