Added sort to assoctiated dropdowns