Will Postgres Deadlock on Single Update
The order of the values in the in clause is not significant.

the rows may be visited in any order, this order can change at any time.

however with such a small set of targets and in the presence of an ordered index (not a hash index) the records will probably be visited in index order.