Simon Willison’s Weblog

Why does Python not have any data structures that store data in sorted order?

My answer to Why does Python not have any data structures that store data in sorted order? on Quora

The bisect module provides functions for achieving this using a python list as the underlying data structure: http://docs.python.org/2/library...