title: Auto Arrangement Of Attributes in Android XML Files
body: <p>I'd like to automatically arrange attributes of XML as follows:</p>
  
  <ol>
  <li>Layout width and layout height</li>
  <li>All other attributes, sorted alphabetically</li>
  <li><strong>And <em>"id"</em> attribute is always <em>at the end</em></strong></li>
  </ol>
  
  <p>I need to put <strong>"id"</strong> attribute to the end of XML attributes list. In my scheme, <strong>"id"</strong> is sorted with other attributes in alphabetical order.
  <a href="https://i.stack.imgur.com/SKDJb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SKDJb.png" alt="enter image description here"></a></p>