Relative Sort Array Leetcode Solution 33