Would need to see the input file. But remember that any non-block trials that were presented (e.g., instruction screens and such) will also have order numbers in there unless you assigned them a 0 for a block value. Also, trials that do not collect any response are, by default, not written to the data file unless they are assigned a negative block value (i.e., as of v2006).