These are called <em>comparability graphs</em>. A forbidden subgraph characterization was given by Gallai in 1967. See the <a href="https://en.wikipedia.org/wiki/Comparability_graph">Wikipedia article</a>.