President Donald Trump's ranking of presidents diverges from the American public's opinion on the subject.