Consistent ordering of names