dglazkov / polymath

MIT License
132 stars 9 forks source link

Bug: _insert_chunk_in_order() doesn't handle sort=reversed correctly #63

Open jkomoros opened 1 year ago

jkomoros commented 1 year ago

Noted while working on #61. The bisect code is very particular to a descending list, but if reversed is true, then it would be an ascending list.