I have a column like in the output and want to get in ascending order as starting from General-0 and increasing. I tried the below it doesn't work.How can I get this done? It's dtype shown as object.
dt.sort_values('run')
output
run
717 General-25-20180121-15:27:27-3807
824 General-26-20180121-15:27:28-3812
931 General-27-20180121-15:27:29-3818
1038 General-28-20180121-15:27:30-3823
1145 General-29-20180121-15:27:30-3828
1252 General-30-20180121-15:27:31-3833
1359 General-31-20180121-15:27:31-3838
1466 General-32-20180121-15:27:32-3843
1573 General-33-20180121-15:27:33-3848
1680 General-34-20180121-15:27:33-3855
1787 General-0-20180121-15:27:08-3680
1894 General-1-20180121-15:27:09-3685
2001 General-2-20180121-15:27:10-3690
2108 General-3-20180121-15:27:11-3695
2215 General-4-20180121-15:27:11-3700
2322 General-5-20180121-15:27:12-3706