Resize the sort order combobox when its contents changes.  Fixes #4173