sunspot/sunspot — pull request #402 by nbaum (2013-04-22 10:28:41+00:00)
Title: Load models before their concerns

If app/model/foo.rb and app/model/foo/bar.rb both exist, it is sometimes desirable to require foo.rb first, since the latter may refer to things defined in the former. Sorting the paths makes sure that happens.