concept list in category jQuery

This is an excerpt from Manning's book jQuery UI in Action.
Interactions are jQuery plugins that give the user the ability to interact with DOM elements. The draggable interaction allows users to drag elements around the screen, and the sortable interaction allows users to sort items in a list. We’ll cover interactions in chapter 5.
Now that you’ve created the draggables, you have to create the droppable areas. You again randomize the list of colors
. If you didn’t do this, the draggables would always be aligned with their appropriate droppable, which wouldn’t be much of a challenge for your users!
One of the more common applications of draggable interfaces is the ability to sort items in a list. Although common, the sortable interaction is shockingly difficult to implement. You have to implement the logic to enable the mouse events for dragging, and then the collision detection from droppable, and then you need to reposition the items in the list to account for the rearranged list. Because of this, the sortable widget is the most complex widget in jQuery UI.
. If you didn’t do this, the draggables would always be aligned with their appropriate droppable, which wouldn’t be much of a challenge for your users!