          self.failfast = failfast
          self.keepdb = keepdb
  
      @classmethod
      def add_arguments(cls, parser):
          parser.add_argument('-t', '--top-level-directory',
              action='store', dest='top_level', default=None,
 
</s> remove                  verbosity=1, interactive=True, failfast=False, keepdb=False,
 </s> add                  verbosity=1, interactive=True, failfast=False, keepdb=False, reverse=False, </s> remove def django_tests(verbosity, interactive, failfast, keepdb, test_labels):
 </s> add def django_tests(verbosity, interactive, failfast, keepdb, reverse, test_labels): </s> remove def reorder_suite(suite, classes):
 </s> add def reorder_suite(suite, classes, reverse=False): </s> remove     partition_suite(suite, classes, bins)
 </s> add     partition_suite(suite, classes, bins, reverse=reverse)
        self.reverse = reverse
          self.failfast = failfast
          self.keepdb = keepdb
        self.reverse = reverse
  
      @classmethod
      def add_arguments(cls, parser):
          parser.add_argument('-t', '--top-level-directory',
              action='store', dest='top_level', default=None,
keep add keep keep keep keep keep
 Fixed #23742 -- Added an option to reverse tests order.

This is useful for debugging side effects affecting tests that
are usually executed before a given test. Full suite and pair
tests sort cases more or less deterministically, thus some test
cross-dependencies are easier to reveal by reversing the order.

Thanks Preston Timmons for the review. 
django/test/runner.py