prevent error when sorting by a column with unset option text