def assertSorted(self, objects, sort_field):
        for idx, r in enumerate(objects):
            try:
                nxt = objects[idx + 1]
                self.assertGreaterEqual(getattr(r, sort_field), getattr(nxt, sort_field))
            except __HOLE__:
                pass
dataset/ETHPy150Open django-silk/silk/project/tests/test_view_requests.py/TestGetObjects.assertSorted