I have tried to make a JSFiddle, because it was easier to make my example: https://jsfiddle.net/jitsejan/n6hy39qe/3/
You can pick an item from the blue box and drop it in the red box below. Within both boxes items can be moved and are not aligned. When an item is dragged from the blue box outside the red box and released, it will revert to the blue box because it is not a drop zone. When an item is dragged from the red box to the blue box, it is removed from the blue box. When you click submit, it will create a form to post the positions for the items that are in the red box when submitted.
The submitting part works fine (probably can be nicer, but I'm just trying ). However, I would like the horizontal scrollbar with the drop zone below using GreenSock because I notice that when I run my version without GreenSock, positions get messed up when the screen is resized. I bet it is also possible to do it better with JQuery only, but I would like to learn the GreenSock Draggable. For the blue box I would like the items to be ordered and aligned, like in the Codepen you made before (so when removing and adding them back items stay in the same order), but in the red box the positions can be random.
Does this give a better idea of what I am trying to achieve?