fix syntax
sort queue based on previous run timings