I'm trying to order things according to rules
https://stackoverflow.com/questions/60218656/order-a-list-according-to-shuffled-rules-about-elements
https://stackoverflow.com/questions/60218656/order-a-list-according-to-shuffled-rules-about-elements