Ensuring consistant ordering.