Fix: Sort copyValues

LabelType was converted to AutoValue in change 273359, but we forgot
to copy the code to sort this field.

Change-Id: Ie48f040e238cd3b62872b5bcbdc06c608b6457a5
diff --git a/java/com/google/gerrit/common/data/LabelType.java b/java/com/google/gerrit/common/data/LabelType.java
index 9c1423d..3e58be7 100644
--- a/java/com/google/gerrit/common/data/LabelType.java
+++ b/java/com/google/gerrit/common/data/LabelType.java
@@ -259,6 +259,8 @@
 
     protected abstract String getName();
 
+    protected abstract ImmutableList<Short> getCopyValues();
+
     protected abstract Builder setByValue(ImmutableMap<Short, LabelValue> byValue);
 
     @Nullable
@@ -290,6 +292,8 @@
       }
       setByValue(byValue.build());
 
+      setCopyValues(ImmutableList.sortedCopyOf(getCopyValues()));
+
       return autoBuild();
     }
   }