Continuous Functions on Totally Ordered Spaces That Are Compact in Their Order Topologies