Codesigniter get_where order_by
$query = $this->db->order_by('birth_date', 'ASC')->get_where($this->tbl_name, $where);
Black Batfish
$query = $this->db->order_by('birth_date', 'ASC')->get_where($this->tbl_name, $where);