When machining a hole, what is the order of operations?
I would countersink and then tap for two reasons.

The first is the countersink bit could damage the first thread and make installing the bolt a problem.

The second is there is less metal to tap and therefore easier and less wear on the tap.

Happy Day!