Fix compare pane sorting

.. sorts according to the expected format for each column
   but if in doubt assumes its numeric