Merge "policy_hal: Set the output devices in ascending order of outputs"