ngtable sort fix