added the sort to pbs in alignDriver