Skip to content

Commit

Permalink
Always sort TableList after reading PDF
Browse files Browse the repository at this point in the history
  • Loading branch information
symroe committed Feb 25, 2019
1 parent c019e58 commit 8446271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion camelot/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,4 @@ def parse(self, flavor='lattice', suppress_stdout=False, layout_kwargs={}, **kwa
t = parser.extract_tables(p, suppress_stdout=suppress_stdout,
layout_kwargs=layout_kwargs)
tables.extend(t)
return TableList(tables)
return TableList(sorted(tables))

0 comments on commit 8446271

Please sign in to comment.