sjakathiNew Contributor II5 years agoHow to Sort an Array Based on Key/Column name Hi , I have an array which i want to sort it by the keys/column. { array1:[ { " Width":“4” " Length":“5 " " Item Desc”:"Black ", " Item ":"Pen " }, { "Width":"5" " Length":...Show More
ptaylorEmployee5 years agoCopy LinkReportHere’s a simpler expression that will work with any number of keys without modification: $array1.map(e => e.entries().sort().toObject(x => x[0], x => x[1]))
Recent DiscussionsPagination and nextCursor in headerSolvedHow to get filename from file readerSolvedGenerate expression file from database querySolvedCan we generate XML file in pretty print format using native snapLogic snaps?Solved401 error with HTTP Client and NTLMSolved