fix wrong sorting in program selection.
make judge-daemon run infinitely.