Sixes or sevens

The origin of this phrase (more commonly “sixes and sevens”) is obscure. It applies to a state of confusion; or of persons, unable to come to an agreement. Brewer (55) says the phrase comes from dicing. Another explanation proposes that the term arose from the ranking in importance of medieval guilds in London. The tailors and the skinners had equal claims to sixth rank in annual processions. To compromise the conflict they agreed to switch sixth and seventh places each year. The expression has been found in literature dating about as far back as 1340 (115).

why is everything either at sixes or at sevens?
Act II