testcases for sorting attributes and meta tags