Here's an example of sorting of element attributes.