Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.12 seconds.

  1. Replies
    4
    Views
    1,703

    Re: Array sorting

    Yeah, I think what he's saying is that he cloned the array, copied it into the second variable, then passed that into the sort method- which worked.
  2. Replies
    4
    Views
    1,703

    Re: Array sorting

    You aren't copying the array, you're copying the reference to the array. So both variables still point to the same array.
Results 1 to 2 of 2