I have numpy.ndarray which I want to have sorted from top left to bottom right rectangle:
[[0.02783673 0.33919543 0.3602183 0.5256867 ] [0.42539364 0.332924