Renamed sort to sorting; removed sort_domains