More job history sorting tweaks