Originally Posted by
Ancient Dragon
You want to sort the error array and keep the relationship with the rows in weights array ???
Oh, now I get it,
maybe another way to do this is keeping an ID of every array row.
And while you order one array, locate the ID in the other and move that one too.
Or compare the IDs after the ordering is done, and move them according to that.
You'll need to add an extra dimension to your array for that though...
Hope this helps