SortLabelsInTable test upgrade (#14292)

Change-Id: I07d2b0882ea5520f3d7ec30e29d4c42fb9167c9c