Sortierung der Mediendateien

Ich hab das so gemacht: Funktion getMediaUrls() in oxarticle

$sQ = "select * from {$sViewName} where oxobjectid = '" . $this->getId()  . "' ORDER BY oxtimestamp ASC";

oxtimestamp ist aus oxmediaurls.