sort the FCFS list
This commit is contained in:
		| @@ -109,6 +109,7 @@ class RecedingHorizonControl: | |||||||
|  |  | ||||||
|         # check if we found relevant inbounds |         # check if we found relevant inbounds | ||||||
|         if 0 != len(inbounds): |         if 0 != len(inbounds): | ||||||
|  |             inbounds.sort(key = lambda x: x.InitialArrivalTime) | ||||||
|             return inbounds, earliestArrivalTime |             return inbounds, earliestArrivalTime | ||||||
|         else: |         else: | ||||||
|             return None, None |             return None, None | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user