Fix angular filesort issue