Sorting an array in a partial file

Have a look at named_scope and default_scope. These may save you sprinkling :order specs around the place. Colin