public function orderAll($table, $order, $sort = null) { $data = $this->_db->orderAll($table, $order, $sort); return $data->results(); }