Hi,
I'm a newbie with Powerapps. I've just created a data table from an Excel file but I'm not able to sort columns or search the data table.

In the onSelect Action of the sort button for CompanyCode I entered the formula
SortByColumns(Costcenters,"CompanyCode",Ascending)
On the search button I set the following formula in the onSelect action:
Search(Costcenters,SearchBar.Text,"Company","CompanyCode","Cost center no","Department","Description")
Neither the sort nor the search function is working.