table settings, order by fix