Stateful DynamicTable not sorting the column data properly

Hello,

I am using DynamicTable from ‘@atlaskit/dynamic-table’ but its sorting feature of column data does not work. I have created a simple CodeSandbox demo for you to see. I also checked this post which helped me but didn’t solve the problem. Can anyone please help me?