aakumar
2 years agoNew Contributor III
Sort not working.....
Json data is in the file attachment. Below is my sort snap. I need the data to be sorted based on ToCurrency.Code. But sort results data is not sorted. Sort not working on this json.
lakshmi Manda
The sort operates on a document by document basis, but the input to the snap contains only 1 document. In order to sort on the field you'd like you'll need to first split the document into multiple documents, sort those, then group them back together. Here's an example that demonstrates how you could do that sort of thing.