fix sortable table and make it looks prettier