I'm using a triple state toggle switch to sort my data in a table by ascending and descending order. However, whenever i click the switch, it doesn't actually sort my data. Any ideas?