I have an app with a home page gallery that lists all the items, and it can be sorted and filtered by multiple categories. However, when the user goes in to click the sort arrow icon for the 'Go Live' date, the dates seem to be sorting by month, and not by the full month/day/year format.
My ITEMS property of the Gallery is the following:
Search(
Sort(
Filter(
AddColumns(
'BARC Submissions',
"SubmissionOwnerName",
SubmissionOwnerSearch.DisplayName
),
IsBlank(ComboBox1.Selected.Value) || SubmissionStatusChoice.Value = ComboBox1.Selected.Value
),
Switch(
varSortColumn,
"SubmissionName",
'Submission Name',
"SubmissionOwner",
SubmissionOwnerSearch.DisplayName,
"GoLive",
DateTimeValue(GoLive),
"SubmissionStatus",
SubmissionStatusChoice.Value
),
varSortOrder
),
TextInput1.Text,
"SubmissionName",
"SubmissionOwnerName"
)
However, when the user clicks the sort icon next to Go Live, it sorts the dates by the month, day, and then year, so all the dates are mixed up... see my image here:
How do I fix this?? HELP PLEASE!