added a sortable directive
code update