The output of SELECT statement is in the order of rows stored in the data block, if ORDER BY clause is not included.

As others said, there is relationship between data file and output order.