Adjectives, numbers, and determiners have a set order when multiples are used to reference the same noun at once. When cardinal and ordinal numbers are used at the same time, the ordinal always comes first.
However, there are some words that seem to function as ordinals but which seem to be flexible in their order while the equivalent (true) ordinal is not:
The three remaining cookies. - or - The remaining three cookies.
The last three cookies. - but NOT - The three last cookies.
The three initial cookies. - or - The initial three cookies.
The first three cookies. - but NOT - The three first cookies.
The three subsequent cookies. - or - The subsequent three cookies.
The next/following three cookies. - but NOT - The three next/following cookies.