Linear orders: when embeddability and epimorphism agree