Highest Write Wins flag, register, map and set

*Only for discussion not finished yet*

When epoch values are the same, then the register value itself decides. Unfortunately that would be unfair since concurrent writes of let's say 1 and 2 would always result in 2 winning. With this permutation I shuffle a bit the ordering so different values can win in different epochs.