Hello @alt88
Create a collection:
ClearCollect(TableColl,AddColumns(Table2,"OrderID2",Text(OrderID)))
Then change the formula to:
SortByColumns(Search(TableColl, inpSearchText.Text, "OrderI2D"),"OrderID2",Ascending)
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it
Thank you.😊