title: Android studio 3.5 refactor issue
body: <p>I've just updated to Android Studio 3.5 and now when I try to refactor the file <code>AndroidManifest.xml</code>, all my app permissions are moved to the bottom of the file.</p>
  <p>Has anyone else faced this issue? Is there any solution for this?</p>
  <p>Before refactor:</p>
  <p><a href="https://i.stack.imgur.com/TM3o1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TM3o1.png" alt="enter image description here" /></a></p>
  <p>After refactor:</p>
  <p><a href="https://i.stack.imgur.com/lv1wD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lv1wD.png" alt="enter image description here" /></a></p>
  <p>It is applicable to my all project files.</p>
  <h3>Why it matters:</h3>
  <p><a href="https://i.stack.imgur.com/61TW8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/61TW8.png" alt="enter image description here" /></a></p>