Add sorting to cubes/dims/process list