class_docstr: Test cases for the ordering of sets of statements.
class_docstr_tok: ["Test","cases","for","the","ordering","of","sets","of","statements","."]
code: def test_order_by_text(self):
      statement_a = Statement(
          text="A is the first letter of the alphabet."
      )
      statement_b = Statement(
          text="B is the second letter of the alphabet."
      )
  
      self.adapter.update(statement_b)
      self.adapter.update(statement_a)
  
      results = list(self.adapter.filter(order_by=["text"]))
  
      self.assertEqual(len(results), 2)
      self.assertEqual(statement_a.text, results[0].text)
      self.assertEqual(statement_b.text, results[1].text)
  
imports: from unittest import TestCase
  from chatterbot.storage import MongoDatabaseAdapter
  from chatterbot.conversation import Statement
label_desc: Use image node_id 1 for calling the MongoOrderingTestCase obj's underlying member method code with example usage: obj.test_order_by_text() without return types