Escape sort link URLs.
Merge branch 'stable-2.2'