Fix unassigned index bug in stable_uasort