hello everybody
how could I change the order of this array
the array can have a variables items numbers, but I just want to change only the position of the first 6 items, the rest remain unchanged ("intem7" , "intem8" , "....")
thank you very much
how could I change the order of this array
Code:
var array = ["intem1" , "intem2" , "intem3" , "intem4" , "intem5" , "intem6" , "intem7" , "intem8" , "...."];
...
var reordering = array ["intem4" , "intem3" , "intem5" , "intem1" , "intem2" , "intem6" , ""intem7" , "intem8", "...."];
the array can have a variables items numbers, but I just want to change only the position of the first 6 items, the rest remain unchanged ("intem7" , "intem8" , "....")
thank you very much