title: Is it possible in Rails to create custom order method for model?
body: <p>I would like to create something like a new order method for a model in my rails app. This order method should be able to compare records by one column. At the beginning of the list should be records with the highest( > 250) and the lowest( &lt; 80) value of that column and others(with avarage value between 80 and 250) should be at the end of list. Is it possible to do it in rails ?</p>