Hello, all.
I'm having trouble with a PHP script I'm writing to update an RSS newsfeed. It adds a new <item> to the newsfeed but it adds it at the bottom instead of at the top of the list. How can I have it add the new <item> as the first one on the list instead of the last?

Here is the script:
CODE
<?php
$xml = simplexml_load_file('test.xml');
$cat1 = 'cat one';
$descrip = 'The description.';
$perma = time() . 'mysite-dot-net' . rand(0, 10000);
$TheLink = 'http://www.example.com/';
$ThePubDate = strftime('%a, %d %b %Y %H:%M:%S %z');
$TheTitle = 'The New Title 3';
$NewOne = $xml->channel->addChild('item');
$NewOne->addChild('category', $cat1);
$NewOne->addChild('description', $descrip);
$NewOne->addChild('guid', $perma);
$NewOne->addChild('link', $TheLink);
$NewOne->addChild('pubDate', $ThePubDate);
$NewOne->addChild('title', $TheTitle);
$xml->asXML('test.xml');
?>