Fix screwy sorting behavior on characteristic widget.