Sort actions by target