Closed orders and closed graphs