sort (Raggle::Feed::List)

    # File raggle, line 1494
          def sort
            @feeds.sort! { |a, b|
              a['title'] ||= $config['default_feed_title']
              b['title'] ||= $config['default_feed_title']
              a['priority'] ||= $config['default_feed_priority']
              b['priority'] ||= $config['default_feed_priority']

              if a['priority'] != b['priority']  # higher priorities first
                b['priority'] <=> a['priority']
              else  # just sort by title
                rePrefix = /^\s*(a|the)\s+/i
                reSpaces = /^\s*(.*?)\s*$/s

                a_c, b_c = a['title'].gsub(rePrefix, '').gsub(reSpaces, '\1').downcase,
                           b['title'].gsub(rePrefix, '').gsub(reSpaces, '\1').downcase

                a_c <=> b_c
              end
            }
          end