title: Data structure that sorts elements by value on insert in Python
body: <p>I need a queue structure that sorts elements (id, value) by value on insert. Also, I need to be able to remove the element with the highest value. I don't need this structure to be thread- safe. In Java, this would, I guess, correspond to PriorirtyQueue.</p>
  
  <p>What structure should I use in Python? Could you provide a single toy example?     </p>