diff --git a/java/src/com/android/inputmethod/keyboard/internal/KeyboardTextsSet.java b/java/src/com/android/inputmethod/keyboard/internal/KeyboardTextsSet.java
index 2c54a455e9ec0ac384b7fa53935130b6e452234f..917e233a826921a446a13a539a1e769b897e858a 100644
--- a/java/src/com/android/inputmethod/keyboard/internal/KeyboardTextsSet.java
+++ b/java/src/com/android/inputmethod/keyboard/internal/KeyboardTextsSet.java
@@ -428,23 +428,23 @@ public final class KeyboardTextsSet {
         // U+201F: "‟" DOUBLE HIGH-REVERSED-9 QUOTATION MARK
         /* 54 */ "!fixedColumnOrder!3,\u2039|\u203A,\u2264|\u2265,\u00AB|\u00BB",
         /* 55 */ "!fixedColumnOrder!3,\u203A|\u2039,\u2265|\u2264,\u00BB|\u00AB",
-        // U+064F: "ُ" ARABIC DAMMA
-        // U+064C: "ٌ" ARABIC DAMMATAN
-        // U+0651: "Ù‘" ARABIC SHADDA
+        // U+0655: "Ù•" ARABIC HAMZA BELOW
+        // U+0654: "Ù”" ARABIC HAMZA ABOVE
         // U+0652: "Ù’" ARABIC SUKUN
-        // U+0653: "Ù“" ARABIC MADDAH ABOVE
         // U+064D: "ٍ" ARABIC KASRATAN
+        // U+064C: "ٌ" ARABIC DAMMATAN
         // U+064B: "Ù‹" ARABIC FATHATAN
+        // U+0651: "Ù‘" ARABIC SHADDA
+        // U+0656: "Ù–" ARABIC SUBSCRIPT ALEF
+        // U+0670: "Ù°" ARABIC LETTER SUPERSCRIPT ALEF
+        // U+0653: "Ù“" ARABIC MADDAH ABOVE
         // U+0650: "ِ" ARABIC KASRA
+        // U+064F: "ُ" ARABIC DAMMA
         // U+064E: "ÙŽ" ARABIC FATHA
         // U+0640: "Ù€" ARABIC TATWEEL
-        // U+0656: "Ù–" ARABIC SUBSCRIPT ALEF
-        // U+0670: "Ù°" ARABIC LETTER SUPERSCRIPT ALEF
-        // U+0655: "Ù•" ARABIC HAMZA BELOW
-        // U+0654: "Ù”" ARABIC HAMZA ABOVE
         // In order to make Tatweel easily distinguishable from other punctuations, we use consecutive Tatweels only for its displayed label.
-        /* 56 */ "!fixedColumnOrder!5,\u064F,\u064C,\u0651,\u0652,\u0653,\u064D,\u064B,\u0650,\u064E,\u0640\u0640\u0640|\u0640,\u0656,\u0670,\u0655,\u0654",
-        /* 57 */ "\u064F",
+        /* 56 */ "!fixedColumnOrder!7,\u0655,\u0654,\u0652,\u064D,\u064C,\u064B,\u0651,\u0656,\u0670,\u0653,\u0650,\u064F,\u064E,\u0640\u0640\u0640|\u0640",
+        /* 57 */ "\u0651",
         // U+0661: "Ù¡" ARABIC-INDIC DIGIT ONE
         /* 58 */ "\u0661",
         // U+0662: "Ù¢" ARABIC-INDIC DIGIT TWO
diff --git a/tools/maketext/res/values-ar/donottranslate-more-keys.xml b/tools/maketext/res/values-ar/donottranslate-more-keys.xml
index 0a361cf307f875e10e0979928721b914ff4d03f7..970e85cff6450511c48c7a0eb1858b9b831e28fc 100644
--- a/tools/maketext/res/values-ar/donottranslate-more-keys.xml
+++ b/tools/maketext/res/values-ar/donottranslate-more-keys.xml
@@ -105,21 +105,21 @@
     <!-- TODO: Neither DroidSans nor Roboto have the glyph for U+201F DOUBLE HIGH-REVERSED-9 QUOTATION MARK -->
     <!-- <string name="more_keys_for_tablet_double_quote">!fixedColumnOrder!6,&#x201C;,&#x201D;,&#x201E;,&#x201F;,&#x00AB;|&#x00BB;,&#x00BB|&#x00AB;;,&#x2018;,&#x2019;,&#x201A;,&#x201B;</string> -->
     <string name="more_keys_for_tablet_double_quote">!fixedColumnOrder!4,&#x201C;,&#x201D;,&#x00AB;|&#x00BB;,&#x00BB;|&#x00AB;,&#x2018;,&#x2019;,&#x201A;,&#x201B;</string>
-    <!-- U+064F: "ُ" ARABIC DAMMA
-         U+064C: "ٌ" ARABIC DAMMATAN
-         U+0651: "Ù‘" ARABIC SHADDA
+    <!-- U+0655: "Ù•" ARABIC HAMZA BELOW
+         U+0654: "Ù”" ARABIC HAMZA ABOVE
          U+0652: "Ù’" ARABIC SUKUN
-         U+0653: "Ù“" ARABIC MADDAH ABOVE -->
-    <!-- U+064D: "ٍ" ARABIC KASRATAN
+         U+064D: "ٍ" ARABIC KASRATAN
+         U+064C: "ٌ" ARABIC DAMMATAN
          U+064B: "Ù‹" ARABIC FATHATAN
+         U+0651: "Ù‘" ARABIC SHADDA -->
+    <!-- U+0656: "Ù–" ARABIC SUBSCRIPT ALEF
+         U+0670: "Ù°" ARABIC LETTER SUPERSCRIPT ALEF
+         U+0653: "Ù“" ARABIC MADDAH ABOVE
          U+0650: "ِ" ARABIC KASRA
+         U+064F: "ُ" ARABIC DAMMA
          U+064E: "ÙŽ" ARABIC FATHA
          U+0640: "Ù€" ARABIC TATWEEL -->
-    <!-- U+0656: "Ù–" ARABIC SUBSCRIPT ALEF
-         U+0670: "Ù°" ARABIC LETTER SUPERSCRIPT ALEF
-         U+0655: "Ù•" ARABIC HAMZA BELOW
-         U+0654: "Ù”" ARABIC HAMZA ABOVE -->
     <!-- In order to make Tatweel easily distinguishable from other punctuations, we use consecutive Tatweels only for its displayed label. -->
-    <string name="more_keys_for_arabic_diacritics">"!fixedColumnOrder!5,&#x064F;,&#x064C;,&#x0651;,&#x0652;,&#x0653;,&#x064D;,&#x064B;,&#x0650;,&#x064E;,&#x0640;&#x0640;&#x0640;|&#x0640;,&#x0656;,&#x0670;,&#x0655;,&#x0654;"</string>
-    <string name="keyhintlabel_for_arabic_diacritics">&#x064F;</string>
+    <string name="more_keys_for_arabic_diacritics">"!fixedColumnOrder!7,&#x0655;,&#x0654;,&#x0652;,&#x064D;,&#x064C;,&#x064B;,&#x0651;,&#x0656;,&#x0670;,&#x0653;,&#x0650;,&#x064F;,&#x064E;,&#x0640;&#x0640;&#x0640;|&#x0640;"</string>
+    <string name="keyhintlabel_for_arabic_diacritics">&#x0651;</string>
 </resources>