Forum Moderators: open
<?xml version="1.0" encoding="iso-8859-1" ?>
<ToLet>
<Property>
<Refnumber>21.00</Refnumber>
<Number>34</Number>
<Street>Clifton Road</Street>
<Address3>Newbury Park</Address3>
<Address4>Essex</Address4>
<price>1234</price>
</Property>
<Property>
<Refnumber>22.00</Refnumber>
<Number>54</Number>
<Street>Clifton Road</Street>
<Address3>Newbury Park</Address3>
<Address4>Essex</Address4>
<price>345</price>
</Property>
</ToLet>
I suspect that you would be helped by asking this in the PHP Forum [webmasterworld.com], as well as this one.
You can use the PHP SimpleXML [us2.php.net] or the PHP DOMXML [us2.php.net] support to parse and sort the XML, but the printing will probably done through good old-fashioned PHP routines.