The sort should be done in the microflow. For the search part look at this widget: https://appstore.home.mendix.com/link/app/49364/Mendix/Grid-Search
Regards,
Ronald