Infinite loop on nested vector sort.