sort table WIP