import numpy as np
arr1=np.array(['102.0','135.0','135.0','152.0','93.0','95.0'])
print(arr1)
arr1.sort()
print(arr1)
print()
arr2=np.array(['86.0','82.0','84.0','87.0','95.0','89.0'])
print(arr2)
arr2.sort()
print(arr2)
The first array is not sorted, but second is sorted, why?. I cannot find the mistake.