Representation of preference orderings on Totally Ordered Semigroups