1)create a data table drag on drop on data source on show in the table

data table item create on
SortByColumns(Search(EmployeeDetails,TextInput1.Text,"Title"),varSortPriority,If(SortDescending,Ascending,Descending))
2) create a textbox filter name and enter the show in a particular name
textbox enter name filter name show in datatables

3)data table sort icon click show in table ascending and descending
app click on start properties code:
Set(_varSortBy, "Title"); Set(SortAscending, true);
Data table title sort icon on selected property
set onselect -> UpdateContext({varSortPriority:"Title",SortDescending:!SortDescending})
DataTable
Items
SortByColumns(Search(EmployeeDetails,TextInput1.Text,"Title"),varSortPriority,If(SortDescending,Ascending,Descending))
Data table sort icon click ascending and descending display on datatable

sort icon click on datatables
