Finally, actually fixed the sortMe() function.

it should work properly with partially filled arrays now.
Finally, actually fixed the sortMe() function.

it should work properly with partially filled arrays now.