Update sort mode string in UI when needed.