What determines the order that the courses are displaying?

What determines the order that the courses are displaying?

If you look at a preview of the courses they should display in numerical order. Instead the order is random.

How do I fix this?