Harris, N. (2015) “LazySorted: A Lazily, Partially Sorted Python List”, Journal of Statistical Software, Code Snippets, 65(1), pp. 1–10. doi: 10.18637/jss.v065.c01.