Click and Drop Sorting 1

Click and drop is an alternative to 'drag and drop' and is used for sorting items in a list.
The code is in PHP with 2 Javascript functions - one that is called when a list item is selected and the other when the item is inserted into a new position. For this example, the items to be sorted are are elements in a comma-separated text file.


Cats in Tree

Files and folders for this application

screenshot of LIST files and folders