Sort properly even if a column is blank.