NSArray/Sorting: add partial selection sort

- Also fix Selection Sort