added sort_order to please rails brakeman