What is the difference in the origin and meaning of the titles: Duke, Earl, Baron, Marquis, King, Viscount?

What is the difference in the origin and meaning of the titles: Duke, Earl, Baron, Marquis, King, Viscount? In what order did they appear in medieval Europe?

Duke (voivode), count (governor of the region) and konung (military leader) are Germanic words. The marquis is the ruler of the border area (mark), the viscount (vice comet) is the junior commander – Latin words. Baron (warrior landowner) is a French word.
The titles of military leaders – duke and king – are the most ancient; landowner titles appeared later, in the 9th century.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.