The category of ordered Bratteli diagrams