You gain Reputation when you perform services for your Town, for example, by selling Goods in the Town Supply or donating to one of the Community Buildings.
Reputation is the decisive value for the ranking. The player with the highest reputation at the end of a game round is considered the best individual player in the archipelago.