initial stupid-table sorting