How are logbook entries made on the same day ordered within ForeFlight?

If you make multiple logbook entries for flights on the same day, they will be ordered based upon the following criteria in the following order:

  1. Flight date

  2. Time out

  3. On duty

  4. Time entry was created 

If entries for flights on the same day are imported via a CSV file and no "time out" or "on duty" time is specified, then the entries will be ordered randomly.