I have a numpy array and a mask specifying which entries from that array to shuffle while keeping their relative order. Let\'s have an example: