add a feature of sorting

by using jQuery UI sortable function,
I'd added a feature of sorting.