Allow dynamic ordering of dimensions