minor - there's some mixed bracing indentation in getWorkUnitsSorted, I'd make consistent while you're here.