Sort labels alphabetically by name in the approval table
While ChangeTable2 shows the voting columns sorted alphabetically by
name, the approval table showed them unsorted. Hence, the column order
was not consistent. As interim solution we now also sort the approval
table's voting columns alphabetically by name to at least arrive at a
consistent column order.
While we'd prefer to have a way for site-/project-admins to set the
column order, this proves to be hard for ChangeTable2, as different
projects might come up with conflicting label orders. Additionally,
labels are typically stored in unordered data structures, so we cannot
rely on their order. Until those issues are solved, we now at least
present them in a consistent order.
Bug: Issue 1814
Change-Id: I25b442241f99e1674c32934ce0b2c9cabb910601
1 file changed