I am trying to sort an xml by publish date.
Initital xml is as below.
[html]
Sort XML
English
Book 1 author 1
Book 1 author 2
Book 1 title
Mar 17th 2010
Book1ISBN
Book 2 author 1
Book 2 author 2
Book 2 title
Jun 20th 2010
Book2ISBN
Book 3 author 1
Book 3 author 2
Book 3 author 3
Book 3 title
Mar 17th 2005
Book3ISBN
[/html]
Output xml should be
[html]
Sort XML
English
Book 3 author 1
Book 3 author 2
Book 3 author 3
Book 3 title
Mar 17th 2005
Book3ISBN
Book 1 author 1
Book 1 author 2
Book 1 title
Mar 17th 2010
Book1ISBN
Book 2 author 1
Book 2 author 2
Book 2 title
Jun 20th 2010
Book2ISBN
[/html]
How can i get this. I tried several methods, I did Use XML:

arser to break down the xml and get all the pubdates then sorted them, but couldn't get that right.
There is XSLT sort module which can be used to do so very easily, but XSL.pm is not available on iw-perl
Can anyone suggest me a easy way to sort this.
I even tried this snippet to dump this xml into a hash and sort it there,
here is a snippet which dumps the hash
[html]
use strict;
use XML:

imple;
use Data:

umper;
my $booklist = XMLin('booklist.xml');
print Dumper($booklist);
[/html]
I am not sure what to do after this and how to get back my xml from this hash.
Thank You