My SharePoint List creates the ID for every new entry (numerical only). We have a field, Item ID, that appends WR or RE or PI to the front of that number based on the type of request being submitted.
I want my PowerApps List to Sort by ID (numerical) in Descending Order but display the Item ID. When I use the below on the gallery, it sorts as intended, with no problems.
SortByColumns('Work Requests',"ID",SortOrder.Descending)
Sort Results

The issues start when I’m trying to add Search to the gallery. I need to be able to search the list using multiple fields but it’s not pulling results. Also, the sorting isn’t correct.
SortByColumns(
Search(
'Work Requests',
Input_SearchBox_1.Text,
'Title',
'CR Number',
'Item ID',
'Change(s) to Current Process',
'Updates Required',
'Current Process'
),
"ID",
SortOrder.Descending
)
Sort Results

Search Results
