title: Reorder mat-table rows with angular material's drag-and-drop
body: <p>Angular 7 brought the powerful <code>DragDropModule</code> with it: <a href="https://material.angular.io/cdk/drag-drop/examples" rel="noreferrer">https://material.angular.io/cdk/drag-drop/examples</a></p>
  
  <p>The documentation deals with rearranging items within lists or transferring items between several lists. However, it doesn't talk about tables.</p>
  
  <p>I was wondering whether there is a comfortable way of using angular material's drag-and-drop system for reordering rows in mat-table or cdk-table. </p>
  
  <p>(You can add <code>cdkDropList</code> to <code>mat-table</code> which makes the mechanism work but without all the fancy animations and default drag placeholders.)</p>
  
  <p>Does something like an easy-to-implement default for sorting table rows via drag-and-drop exist?</p>