docstr: Check distances are sorted in ascending order for each row.
code: def assert_distances_sorted(distances):
      """Check distances are sorted in ascending order for each row."""
      for row in distances:
          assert all(row[i] <= row[i + 1] for i in range(len(row) - 1))
  
file_path: cleanlab/tests/datalab/issue_manager/test_knn_graph.py
imports: import math
  from hypothesis import HealthCheck, given, settings, strategies
  import pytest
  from .conftest import knn_graph_strategy
label_desc: Use image node_id 1 for calling the TestKNNGraph obj's underlying member method code with example usage: obj.assert_distances_sorted(distances) without return types