I have 7k+ records with 76 columns in SharePoint list connected to PowerApps. I'm using SortByColumns function to sort the items in my gallery. The problem is when I set the sort order to ascending it took me only 0.4s to retrieve response but when I set it to descending it took me around 10s.
Here is my monitoring result:
The sort order in the red box is ascending and the blue is descending.
The formula that I'm using is SortByColumns(DBSubject,"ID",TextInput1.Text)
Why the first response size is not equal to the second one and how can I reduce the duration?