Prioritization of activities and resources