Perfectly Ordered Graphs