rearrange (npm): function that given a movements configuration Map and an array, it creates a new array with rearranged positions
Keywords: reorder|rearrange|array|partial