Table sorting works again