sorted array for ivv, todo, vvwe