In an academic context, which is a "higher" title: "Professor" or "Dr."?
Professor, certainly.
I became Doctor angus the day I got my PhD, but it would be many years before I would become a Professor. This is the case for most of my colleagues, who all did post-doctoral fellowships either with the government or universities, and sometimes in the private sector, for anywhere from two to four years.
All the members of my department have PhD degrees, including all the adjunct professors. This is true for all the departments in my university except in those cases in which the terminal degree in that field is not a PhD. (There are also MD, EdD, ThD, DSC, etc., and some only have MS or MA degrees, but that's rare and limited to a few fields.)
I remember when I first started graduate school I asked my mentor whether I should call him Professor or Doctor, and he said, "Call me Dennis. But if you must be awkward and formal, then call me Professor because I have earned it." He, too, did several years of post-doctoral research after he got his PhD before becoming a member of the faculty.
That said, students don't always observe such rituals. We are not very formal in the US. I worked in Amsterdam for a while, and went to school in Germany as well, and I noticed that they are much more formal over there. Also, I've been at conferences where there are Japanese and they are much, much more formal. I've seen post-docs bowing and scraping before their professors. We generally are on first-names bases with our faculty mentors when we are grad students and post-docs. Also, students just call everybody Doctor Something without checking to see whether they are actually more appropriately called Professor. I don't know any US professor who gets hung up on that sort of thing, though.
But if someone actually has the title of Professor and you insist on being formal, then use that because it is "higher" than Doctor, and they would have had to jump through additional hoops after obtaining the doctoral degree to be appointed to a position that carries the title Professor.