Do you expect the order to be different for the inputs you gave?
Are you actually getting the AIC and BIC evaluations out or just the ordering resulting from these? The latter may quite conceivably be the same despite the former being different for some inputs.