lib/head_music/instrument.rb in head_music-7.0.1 vs lib/head_music/instrument.rb in head_music-7.0.2
- old
+ new
@@ -24,10 +24,10 @@
end
def self.all
HeadMusic::InstrumentFamily.all
@all ||=
- INSTRUMENTS.map { |key, _data| get(key) }.sort_by(&:name)
+ INSTRUMENTS.map { |key, _data| get(key) }.sort_by { |instrument| instrument.name.downcase }
end
attr_reader(
:name_key, :alias_name_keys,
:family_key, :orchestra_section_key,