old_contents: from __future__ import print_function
  from scrapy.command import ScrapyCommand
  
  class Command(ScrapyCommand):
  
      requires_project = True
      default_settings = {'LOG_ENABLED': False}
  
      def short_desc(self):
          return "List available spiders"
  
      def run(self, args, opts):
          crawler = self.crawler_process.create_crawler()
          for s in crawler.spiders.list():
              print(s)
  
new_contents: from __future__ import print_function
  from scrapy.command import ScrapyCommand
  
  class Command(ScrapyCommand):
  
      requires_project = True
      default_settings = {'LOG_ENABLED': False}
  
      def short_desc(self):
          return "List available spiders"
  
      def run(self, args, opts):
          crawler = self.crawler_process.create_crawler()
          for s in sorted(crawler.spiders.list()):
              print(s)
  
subject: sort spiders in "scrapy list" cmd. closes #736