Escape sort link URLs.