Skip to content

Instantly share code, notes, and snippets.

@timgaunt
Created November 2, 2012 10:06
Show Gist options
  • Save timgaunt/3999906 to your computer and use it in GitHub Desktop.
Save timgaunt/3999906 to your computer and use it in GitHub Desktop.
Umbraco - Sort By Date
<xsl:sort select="umbraco.library:FormatDateTime(##Date Field##, 'yyyyMMdd')" data-type="number" order="descending" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment