Creating custom indices (or Range?) from a set of arrays

Please read the guidelines here and post a MWE to increase the chances of receiving feedback from the Julia experts.