core/MY_Model.php updated to order results