```ruby
class NavigationHeading < ActiveRecord::Base
	has_many :pages
	has_many :electoral_races

	def items
		pages + electoral_races
	end
end
```

Order sub-nav links by name
user
```ruby
class NavigationHeading < ActiveRecord::Base
	has_many :pages, -> { order 'title' }
	has_many :electoral_races, -> { includes(:region).order('regions.name') }

	def items
		pages + electoral_races
	end
end
```
assistant