I've implemented this recently (https://github.com/46bit/distributed-systems/tree/main/rende....) Does anyone know a similarly accessible guide to adding ordering (e.g. Vector Clocks)?
Btw, you might want to add weights, they are very satisfying, once you understand them.