Fix broadcast sorting.