LPS-46910 Alphabetize <img> attributes

https://issues.liferay.com/browse/LPS-46910