Automatically select the right type based on whether the from is before or after the to in the indicated order based on default condition.
Automatically select the right type based on whether the from is before or after the to in the indicated order based on default condition.