For openpyxl there is an indirect method, through filters: https://openpyxl.readthedocs.io/en/stable/filters.html
That's probably not what you're looking for.
If you switch to pandas, it's well defined: http://pandas.pydata.org/pandas-docs/ver....sort.html
Still, without switching, the only sure way that I can think of is to export to a csv file, sort that and then load results. A hack, but it should work.
That's probably not what you're looking for.
If you switch to pandas, it's well defined: http://pandas.pydata.org/pandas-docs/ver....sort.html
Still, without switching, the only sure way that I can think of is to export to a csv file, sort that and then load results. A hack, but it should work.