Trump was poised to become only the second American president to secure non-consecutive terms but he did so against far greater odds than Grover Cleveland a century earlier.