We need to sort an array of fields in OIC by the most recent last updated date.
Summary:
We need to sort an array of fields in OIC by the most recent last updated date (in timestamp format), eliminate duplicate values, and retrieve the unique records with the latest last updated date. Despite trying various methods to implement this sorting in XSLT within OIC, we have been unsuccessful in arranging the dates in descending order. Could someone please assist with a solution or workaround for this issue?
My input looks something like this:
</ns1:Component>
<ns1:ComponentItemNumber>ABCD</ns1:ComponentItemNumber>
<ns1:LastUpdateDateTime>2024-04-01T05:34:36.677Z</ns1:LastUpdateDateTime>
</ns1:Component>
<ns1:ComponentItemNumber>ABCD</ns1:ComponentItemNumber>
<ns1:LastUpdateDateTime>2024-04-08T05:34:36.677Z</ns1:LastUpdateDateTime>
Tagged:
0