Issue #2170979 followup by yched: Remove the getValue() / setValue() dance in WidgetBase::sortItems().