putting the cart before the horse; mistaking the means for the end; getting one's priorities backwards
putting the cart before the horse; mistaking the means for the end; getting one's priorities backwards
topical-annalistic style (of historical writing)