When he needs both done (like when he wakes up in the middle of the night), I do the diaper first. Then he can doze off at the end of his feeding.
I did it the other way last night, because he seemed really really hungry, and that extra 5-10 minutes was long enough for him to pee again and overflow his diaper and get his clothes all wet.