If I want to sort this array which is declared by
np.zeros((50),dtype=object)
and I want to sort this array by first value,
[list([2, 5]) list([3, 0]) list([2, 7]) list([3, 1]) list([11, 2])]
like
[list([2, 5]) list([2, 7]) list([3, 0]) list([3, 1]) list([11, 2])]
What should I use?
I've been try sort()
, sorted()
etc..