array:
A-B-C-D-E-F
J is the son of C. update array so:
A-B-C-J-D-E-F
how do I insert J after C in the array?
I also map the array in a loop (array of comments for display). Will this method take a very long time to perform?
See Question&Answers more detail:os