Forum:How to organise dates in infobox

On the Nintendo Wiki I have been working on updating the game infobox template. With the update the release dates will no longer be in chronological order. The new update separates the release dates by game and then by country. I was wondering if there was any code that I could add that would take the date inputted by the user (ex. June 10, 2012) and then organize the release dates. Here is an example of the usage of the template


 * Does anyone know how to do this?


 * First use the   parser function to calculate the number of seconds from 1-1-1970 to those dates. Then use the ifexpr parser function to find the lowest number of seconds (which would mean the earliest date), and work from there.


 * For example,   gives  seconds.


 * -- 01:14, July 27, 2012 (UTC)