Sort Android strings.xml in Alphabetical Order

adt, android, eclipse, xml-editor

Solution

For anyone else who bumps into this. Copy all the string elements, paste into an Excel spreadsheet sort A-Z and then copy and paste back.

Problem

While programming my Android app I just kept inserting elements in strings.xml with no order whatsoever. Is there a shortcut key (like Ctrl+Shift+F can organize `android:` attributes in an XML layout file) that sorts string elements alphabetically?

Original source