/**
 * Implements hook_views_plugins_sort_alter().
 */
function {{ machine_name }}_views_plugins_sort_alter(array &$plugins) {
  // Change the 'title' handler class.
  $plugins['title']['class'] = 'Drupal\\example\\ExampleClass';
}
