तस्य पूर्वः पूर्वः श्रेयान्प्रतिकर्तुम् ॥ कZ_०९.७.६३ ॥
tasya pūrvaḥ pūrvaḥ śreyān pratikartum
In countering these harms, the earlier-listed harm should be addressed first (priority: mitigate anartha before adharma, and adharma before śoka).
Stabilize material capacity and losses (anartha) first, then restore lawful order (adharma), then address grief/distress (śoka) as a downstream consequence.