前茅 originally referred to the vanguard of an ancient Chinese army, which carried
茅 (thatch grass) as a signal flag. To
名列前茅 was literally to have your name listed among the front troops - a place of honor. The phrase traces to the
左传 account of the Chu army's marching order.