I have a dataframe that looks like this:
| class_id | dims |
|---|---|
| 94369_GA_30122 | 95 |
| 27369_GA_30122 | 14 |
| 78369_CA_30122 | 27 |
| 30472_MN_55121 | 16 |
and the dataframe goes on... I want to sort my column class_id numerically ascending, that is itt must look like
| class_id | dims |
|---|---|
| 27369_GA_30122 | 14 |
| 30472_MN_55121 | 16 |
| 78369_CA_30122 | 27 |
| 94369_GA_30122 | 95 |
can anyone tell me how can I achieve this?