---
order: 25
title:
  en-US: Drag sorting
  zh-CN: 拖拽排序
---

## zh-CN

使用自定义元素，用户可以导入 [@angular/cdk/drag-drop](https://material.angular.io/cdk/drag-drop/overview) 来实现拖拽排序。

> 注意：需要手动导入 `import {DragDropModule} from '@angular/cdk/drag-drop'`;

## en-US

By using custom components, we can integrate table with [@angular/cdk/drag-drop](https://material.angular.io/cdk/drag-drop/overview) to implement drag sorting.

> Note: Need to `import {DragDropModule} from '@angular/cdk/drag-drop'`;
