Sort the planning result actions in order.