'react-sortable-hoc rows are not sort using arraymove

I am trying to create a sortable list with the react.js library "react-sortable-hoc"

link: https://github.com/clauderic/react-sortable-hoc

I want to do sorting the rows in reorder but rows are not sorting using arraymove.

What should i do? Please guide me.

codesandox code link here:

https://codesandbox.io/s/lucid-shadow-3t0qv

Screenshot:

Form UI page

Form data

Hope this help you !



Solution 1:[1]

 npm install [email protected]

Pleas try this package:

 import arrayMove from "array-move";

Sources

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

Source: Stack Overflow

Solution Source
Solution 1 ouflak