Jun-14-2019, 05:10 PM
you need to specify type of sorting algorithm to be mergesort
ks = df1.sort_values('Country', kind='mergesort')default is 'quicksort' which is not stable