Random orderings and unique ergodicity of automorphism groups