sortedcontainers

Sorted Containers – Sorted List, Sorted Dict, Sorted Set

Here are some articles that you may find helpful