No, the browser parses HTML and builds the DOM. At this point, the literal source of the page is no longer important, so DOM requests are not executed in order.
However, personally, I would like to put my identifier first, then a class, and then something else. For ease of reading.
source share