@Louigi_VeronaauthorMay 04.2005 — #You see - I am not even sure that it is a 2D array. It has one value but two indicies. ksort doesn't work. The reason that I'm using two indicies is because in my script I want to associate the value of the array with two database records. Second index can do that. But the sorting just doesn't work!