Steps to Reproduce: 1. inFlightTest.java, run the test case testQueryByDeptPass2() 2. we can see the order of result list. Expected output: The order should be sorted by time. Actual output: however, it is sorted by another order.
Resolution: Add the sort by time function in FlightDAO.java.