Sort Sequence for PAGES listing (aka Order Pages)

If one wants to resequence the display of Pages in date created order, the code for y'all to be looking at look at to modify is this ;-)

function get_entities
($type="",$subtype="",
$owner_guid=0,$order_by="",
$limit=10,$offset = 0,
$count = false,
$site_guid = 0,
$container_guid = null,
$timelower = 0,
$timeupper = 0)
{
        global $CONFIG;
        if ($subtype === false || $subtype === null || $subtype === 0)
            return false;
        if ($order_by == "") $order_by = "time_created desc";
. . .