Add simple sorting for table