0 && $list[$j - 1]->compare($list[$j], $order)) { $list[$j + 1] = $list[$j]; --$j; } $list[$j + 1] = $list[$i]; } return $list; } }