[BUGFIX] Execute scheduler tasks ordered by next execution time