improved sorting to remove html tags
added sorting to all result table columns