title: Thread-safe Sorted Collection
body: <p>Is there an implementation of a thread-safe sorted collection in Python?<br>
  <a href="http://docs.python.org/library/bisect.html" rel="nofollow">Python's docs</a> reference <a href="http://code.activestate.com/recipes/577197-sortedcollection/" rel="nofollow">SortedCollection</a> but I'm not sure if it's thread-safe (is it?)<br>
  If there is no such implementation - how would you implement it?</p>