      """
      suite_class = type(suite)
      for test in suite:
          if isinstance(test, suite_class):
              partition_suite(test, classes, bins, reverse=reverse)
          else:
              for i in range(len(classes)):
 
</s> remove             partition_suite(test, classes, bins)
 </s> add             partition_suite(test, classes, bins, reverse=reverse) </s> remove     partition_suite(suite, classes, bins)
 </s> add     partition_suite(suite, classes, bins, reverse=reverse) </s> remove                                 options.modules)
 </s> add                                 options.reverse, options.modules) </s> remove def django_tests(verbosity, interactive, failfast, keepdb, test_labels):
 </s> add def django_tests(verbosity, interactive, failfast, keepdb, reverse, test_labels):
    if reverse:
        suite = reversed(tuple(suite))
      """
      suite_class = type(suite)
    if reverse:
        suite = reversed(tuple(suite))
      for test in suite:
          if isinstance(test, suite_class):
              partition_suite(test, classes, bins, reverse=reverse)
          else:
              for i in range(len(classes)):
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