'How to disable sorting element under cdkDropListGroup in angular CDK?

I was trying to implementing draging and dropping in both direction using angular CDK and Grid Layout. So i am keeping the elements under cdkDropListGroup to connect the all cdkDropList. Now i want to disable sorting among the elements. I tried using cdkDropListSortingDisabled but it's not working. Is their any way to do it?

<div cdkDropListGroup class="grid-layout-styles example-list">
    <div [ngStyle]="getStyle(item)"  cdkDropList cdkDropListSortingDisabled
         *ngFor="let item of items" [id]="item.id">
         <div class="example-box" cdkDrag>{{item.title}}</div>
    </div>
</div>


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source