-made fix for order_by method not working correctly

attempting to use the 'order_by' method was resulting in an error.. This *should* correct the issue