title: Pandas make a column clickable and sort
body: <p>I followed this post <a href="https://stackoverflow.com/questions/42263946/how-to-create-a-table-with-clickable-hyperlink-in-pandas-jupyter-notebook">How to create a table with clickable hyperlink in pandas &amp; Jupyter Notebook</a> to create a clickable link in a dataframe. However, it seems any time I sort the dataframe, the hyper links go away. </p>
  
  <pre><code>df = pd.DataFrame(['http://google.com', 'http://duckduckgo.com'], columns=["a"])
  
  def make_clickable(val):
      return '&lt;a href="{}"&gt;{}&lt;/a&gt;'.format(val,val)
  
  df.style.format(make_clickable)
  </code></pre>
  
  <p>This will display unclickable links:</p>
  
  <pre><code>df.sort_values(by="a")
  </code></pre>