Prioritize Altitude sensors ( Range finder. GPS and Baro)

Hello everyone, How to prioritize the use of Available altitude sensors
RANGE FINDER.
GPS ALTITUDE.
BAROMETER.
in the same order.