I have two collections that I want sorted but nothing seems to be working. I am building the collections based on other collections. The first collection is a list of customers with a 'Name' column. The second collection is of contact names (and other info) and also contains the customer name. I want to sort first by 'Customer' and the 'Name' so all contacts are in alpha order grouped by customer, which is also in alpha order.
These are my two Sort calls:
Sort(
expCustCol,
Name
);
Sort(
Sort(
expContCol,
Customer
),
Name
);
I then pass these to a Flow to create CSV files. I check the collections right after the sorts and then don't change.
I tried with the column names in quotes too, but no luck. I also tried switching tnhe Sort with SortByColumns abd no change.
Any ideas what I am missing?