made table sortable