$this->rb->set_default_order(array(':id'=>'desc'));
Here is the backend code
foreach($order as $k=>$v) {
if ($k==':Visited_on') $field_hash[$k] = $k;
if ($k==':Fav') $field_hash[$k] = $k;
if ($k==':Edited_on') $field_hash[$k] = $k;
if ($k==':id') $field_hash[$k] = $k;
$clean_order[] = array('column'=>$field_hash[$k],'order'=>$field_hash[$k],'direction'=>$v);
}
:Edited_on uses created_on if no edits have been done.
There is no :Created_on, because id should reflect created_on.
However I've found that something is wrong with :Edited_on sort order when used like that. You have to force it with:
$this-rb->force_order(array(':Edited_on' => 'DESC'));
It shouldn't be problem with get_records.
I'll try to fix this issue, but I'm not sure is this easy fixable.
Regards,
Adam