Fix bug. cube.sort() is now cube.sort(axis=0)