Treat `undefined` properly in Calc.get methods
Sort returnValues by highest priority