---
title: "Comment by MD SAMIR on \"How to Implement Drag and Drop in Vanilla JS\" | Hashnode"
description: "Is there any article related to how to save to localStorage after sorting?"
url: "https://hashnode.com/posts/how-to-implement-drag-and-drop-in-vanilla-js/61284dea22e1ba252a88048a/comment/6131a15377de087890b8ed8d"
---

[Discussion](https://hashnode.com/posts/how-to-implement-drag-and-drop-in-vanilla-js/61284dea22e1ba252a88048a)

Comment [How to Implement Drag and Drop in Vanilla JS](https://hashnode.com/posts/how-to-implement-drag-and-drop-in-vanilla-js/61284dea22e1ba252a88048a)

[MD SAMIR](https://hashnode.com/@ryuzaki979)

[Sep 3, 2021](https://hashnode.com/posts/how-to-implement-drag-and-drop-in-vanilla-js/61284dea22e1ba252a88048a/comment/6131a15377de087890b8ed8d)

Is there any article related to how to save to localStorage after sorting?

[Veronica Stork](https://hashnode.com/@veewren)

[Sep 3, 2021](https://hashnode.com/posts/how-to-implement-drag-and-drop-in-vanilla-js/61284dea22e1ba252a88048a/comment/6131a15377de087890b8ed8d#reply-61323d375b12102f2987c872)

[MD SAMIR](https://hashnode.com/@ryuzaki979)\- I would love to write one! Just so I’m sure what you’re asking: you mean how to store the to do tasks in local storage?

[MD SAMIR](https://hashnode.com/@ryuzaki979)

[Sep 3, 2021](https://hashnode.com/posts/how-to-implement-drag-and-drop-in-vanilla-js/61284dea22e1ba252a88048a/comment/6131a15377de087890b8ed8d#reply-6132674a36015b2f4e1288c2)

[Veronica Stork](https://hashnode.com/@veewren) Yes something like that. How to store the position order of items and use it when reloading
