Added sort function in varUtils, fix issue with small thread number in MultiAlignAndBAM