fixed sorting of deploy unit instances bug