Refs #16768; Fixed custom sort filter to work properly with empty rows