Essentially I'm loading in data into an array and some data will be skipped, causing there to be some rows with 0's as values and I'm trying to get rid of those. Everything seems to be working fine aside from the array sorting function.
The code im using
The Array's data after loaded into array
I Pop the data from the Y axis to remove the categories (which i add back at the end)
I then sort by Y axis which -almost- works in that the 0's are properly pushed to the top however the values in column 2 and 3 are now mixed up.
From the array documentation page it says that its suppose to preserve the contents of the column but it doesn't seem to be doing that here?