I have
global_.game_data.turn.step = {
[22] = 0,
[3] = 0,
[2] = 1,
[4] = 0,
}
i want
global_.game_data.turn.step = {
[2] = 1,
[4] = 0,
[22] = 0,
[3] = 0,
}
or I have
global_.game_data.turn.step = {
[22] = 0,
[3] = 0,
[2] = 0,
[4] = 1,
}
i want
global_.game_data.turn.step = {
[4] = 1,
[22] = 0,
[3] = 0,
[2] = 0,
}
or I have
global_.game_data.turn.step = {
[4] = 0,
[22] = 1,
[3] = 0,
[2] = 0,
}
i want
global_.game_data.turn.step = {
[22] = 1,
[3] = 0,
[2] = 0,
[4] = 0,
}
just move element with no zero to top and circle reorder with zero
or this imposible?