On Thursday, March 08, 2012 10:21:48 Matthias Walter wrote: >but the following did not work: > >std.algorithm.swap(arrayInstance[i], arrayInstance[j]); What error did you get exactly? Since that exact call should work. "It didn't work" doesn't help. -- James Miller