there is a builtin javascript array.push method, why dont you just use it? iterate through the second array using a for loop, push all the elements to the first array, then call the sort method in the first array? isnt it clear?
Reputation Points: 854
Solved Threads: 127
Banned
Offline 2,057 posts
since Jan 2008