In Jupyter Notebook, using table_beautifier I’m able to sort pandas tables by clicking on the table header:
Check out qgrid: GitHub - quantopian/qgrid: An interactive grid for sorting, filtering, and editing DataFrames in Jupyter notebooks
Also, perspective:
perspective