Move the sorting of the StrideOrder array earlier so that it doesn't