Skip to content

Commit 73f713a

Browse files
committed
Fix sort_page_element. ensures that sorting is stable and not random.
1 parent c6b8ed4 commit 73f713a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

unstructured/partition/utils/sorting.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ def _coords_ok(strict_points: bool):
179179
key=lambda el: (
180180
el.metadata.coordinates.points[0][1] if el.metadata.coordinates else float("inf"),
181181
el.metadata.coordinates.points[0][0] if el.metadata.coordinates else float("inf"),
182-
el.id,
183182
),
184183
)
185184
else:

0 commit comments

Comments
 (0)