Skip to main content

Long story short I have a list in storage of items that I need sorted. It starts with a date field and so all I need is numeric sorting from smallest to largest. 

 

I’m going to look for a code step to make this happen, but I just wondered if there was any one out there with a solution inside Zapier that I’m not thinking of. I can make these line items, they’re currently list items in a Storage by Zapier List. Here’s a sample of my current output from a List in Storage:

 

4/8/2020,9:00 AM,1:00 PM,Inga

4/9/2020,9:00 AM,1:00 PM,Vanessa

4/7/2020,9:00 AM,1:00 PM,Vanessa

4/10/2020,9:00 AM,1:00 PM,Inga

4/3/2020,9:00 AM,1:00 PM,Quad

4/1/2020,9:00 AM,1:00 PM,Quad

3/31/2020,9:00 AM,1:00 PM,Inga

4/2/2020,9:00 AM,1:00 PM,Vanessa

I solved it with a single line of code, but I’d love to do this without code… here’s my code if this is the only way:

 

output = o{original: inputData.list, sorted: inputData.list.split("\n").sort()}];