Description: Rearrange the index set of a direct product family. (Contributed by Mario Carneiro, 25-Apr-2016)