Fix URL in table sort