Is direct access file ordered?

A direct access file, in most systems, refers to a file where individual records are retrieved directlly by using a record number to refer to a specific position in a file. The alternative is to reach the desired record by sequential access: Reading all the records from the beginning until you reach the desired position in the file. The records in the file do not have to be in any specific order.