Generate lists of slices, sorted in dimension order if required