Add ordering to menu entries, using a flexbox layout.