priority job queue: fix bug
priority job queue: fix bug: a task in smol-software-harbor (Harbor dataset). The job queue in src/heap.c sometimes pops jobs out of priority order (the test pops 3 before 2). When restoring the heap after a pop, sift down() must swap with the smaller of the two children. Fix it and run make -B…
The task
The job queue in `src/heap.c` sometimes pops jobs out of priority order (the test pops 3 before 2). When restoring the heap after a pop, `sift_down()` must swap with the *smaller* of the two children. Fix it and run `make -B test`.
Part of efederici/smol-software-harbor.