These are both ko, but in the first one, white must find the first threat, in the second, black. On the other hand, if white loses the first ko, the group becomes a threat for a later ko, in the second, the group is off the board.
Reversing the order of and also gives the first take to Black.