Binary Array Sorting Leetcode Twosum