I have a dataframe with column headers "DIV3, DIV4, DIV5 ... DIV30"
My problem is that pandas will sort the columns in the following way:
DIV10, DIV11, DIV12..., DIV3, DIV4, DIV5
Is there a way to arrange it such that the single digit numbers come first? I.e.:
DIV3, DIV4, DIV5... DIV30