Ensure that family columns are referenced for sort