job sorting class