make table sorting a bit more intuitive