Fixed sorting of formatted numbers in HTML tags