What is David asking Yahweh to do in Yahweh's anger?
David is asking Yahweh to arise and stand up against David's enemies.
What does David ask Yahweh to do for David's sake?
David asks Yahweh to wake up and carry out the righteous decrees that Yahweh commanded.