I’m using collection.select lists and I would love to sort them by one
or two of the columns as the lists are getting long enough to make a
difference.
<%= options = [[‘Select a Facility’, ‘’]] + @facility.collect {
|fac| [fac.name, fac.id] }
select ‘placement’, ‘facility_id’, options %>
how do I get this to order by facility.name ?
Craig