Make Numpy Array Into Arraylist Sort In C