Question: how are sets ordered python?
Answer: In Python, only sets are directly implemented. We can emulate osets with regular dict keys (3.7+). Replicates are removed, insertion-order is preserved. Set-like operations on dict keys.