fixing order_by in views
more fixing on the views