Sorting Numpy Array Initialization Cpp Portal