23.12.2013, 16:16
Try
pawn Код:
for(new i = (sizeof my_array)-1; i > 0; i--)
{
if(my_array[i] >= my_array[i-1]) continue;
my_array[i] ^= (my_array[i-1] ^= (my_array[i] ^= my_array[i-1]));
i = sizeof my_array;
}