Ordered semigroups of size at most 7 and linearly ordered semigroups of size at most 10