Hello everyone hope you're all are doing well
I'm building a PowerApp screen with a gallery that displays records from a Sharepoint list. The gallery has multiple filtering conditions as well as a search functionality. My problem is that I don't know how to sort the columns alphabetically. I want to sort the Title as well as the country column alphabetically (the country is a lookup column).
I've tried using Sort and SortByColumns but i think i'm using them incorrectly.
Here's my formula:
Search(
If(
IsBlank(ComboBox1.Selected), TeachersList,
Filter(TeachersList,country in ComboBox1.SelectedItems.Title &&
Schools.Value in ComboBox4.SelectedItems.Name
)),
TextInput.Text, "Title")
Any help would be greatly appreciated!

Report
All responses (
Answers (