Sort by date in XSLT
658446Apr 8 2010 — edited Feb 27 2020Hi,
I am actually looking to find a solution for sorting a set of records by DATE(YYYY-DD-MMThh:mm:ss) in XSLT.
Use case: I want to get the latest record from the set of given records.
My approach is sort the records based on updated_timeStamp in descending manner and select the first record, using xsl:sort we can sort text and numeric values , but is there a way to sort the records by DateTime values.
Any help is appreciated.
Thanks,
-chaitu