Hello, I'm trying to make a groupby view in powerapps... and everything works except list items are not sorted. So for the gallery when items are set to Distinct(Filter([@listName], TextSearchBox.Text in Title), letter) - this works will show the groupby letter but items are not sorted aphetically by Title. However when I try to add sort like this: SortByColumns(Distinct(Filter([@listName], TextSearchBox.Text in Title), letter), "Title", If(SortDescending, Descending, Ascending)) the gallery is empty.
Can someone explain to me what is happening and what I should do? TIA!