Improve usage of striptags in some links
Fix a bug in sort