code: def test_sort_order_ascending(self):
      ranker = MetaFieldRanker(
          meta_field="rating", weight=1.0, sort_order="ascending"
      )
      docs_before = [
          Document(content="abc", meta={"rating": value})
          for value in [1.1, 0.5, 2.3]
      ]
      output = ranker.run(documents=docs_before)
      docs_after = output["documents"]
  
      assert len(docs_after) == 3
      sorted_scores = sorted([doc.meta["rating"] for doc in docs_after])
      assert [doc.meta["rating"] for doc in docs_after] == sorted_scores
  
imports: import pytest
  import logging
  from haystack import Document
  from haystack.components.rankers.meta_field import MetaFieldRanker
label_desc: Use image node_id 6 for calling the TestMetaFieldRanker obj's underlying member method code with example usage: obj.test_sort_order_ascending() without return types