I'm looking to take an array of numbers with loads of duplicates in it and return a sorted array of only one instance for each item in the original. That is, no matter how many times "133" shows up in the original, put it once and only once in the new array. I believe this should work:
But it doesn't seem to. It's pulling through some items but certainly not all of them. Can anyone enlighten me as to why?