Is order used to mean the same thing in the next two sentences?

Magnolias belong to the order Magnoliales.

It was on the order of a mile.
different meanings