user research: ask for demographic and screening questions at the end of the survey: do the benefits outweigh the risks?

I recently completed a survey in which demographic questions were asked at the end instead of at the beginning. I guess this is because there are no specific screening questions for the purpose of the study, or that there was a particular reason to do this.

It seems that the convention is to ask these kinds of questions at the beginning instead of at the end of the survey, but I wonder if the benefit of people committing to answer questions and then putting the most personal questions at the end results in one more score high. response rate or not.

In this specific case, there was an incentive for the participant (ie, a lottery if the survey is complete), so I do not know if this affects the way in which the order of the survey questions was designed.

Is there a significant difference in the location of screening or demographic questions in a survey? Are there studies on the resulting response rate to support the practice of putting them at the beginning?