--TEST-- sort() functions precerve foreach by reference iterator pointer --FILE-- --EXPECT-- 1 2 3 2 1 0