Hi @schandra1 ,
I agree with @WarrenBelz 's formula.
Just to supplement his reply.
Please notice the syntax of SortByColumns function:
SortByColumns( Table, ColumnName1 [, SortOrder1, ColumnName2, SortOrder2, ... ] )
The columnname decides sort by which column and the order of column name decides the sort order.
However, in your formula, the column name is Title, not StartDate.
SortByColumns(Filter([@'New User Process'], StartsWith(Title, TextSearchBox1.Text)),
"Title",
If(SortDescending1, Descending, Ascending))
So the sort icon will not work for start date.
If you only want to sort based on startdate, you just need to replace Title with startdate field.
Try this:
SortByColumns(Filter([@'New User Process'], StartsWith(Title, TextSearchBox1.Text)), "StartDate", If(SortDescending1, Descending, Ascending))
If you not only want to sort based on title but also want to sort based on startdate, you just need to add startdate field.
Try this:
SortByColumns(Filter([@'New User Process'], StartsWith(Title, TextSearchBox1.Text)),
"Title",Ascending,
"StartDate", If(SortDescending1, Descending, Ascending)
)
Here's a doc about this function for your reference:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-sort
Best regards,