Make working sortable directive

Fix Issue#255 Problem with sortable directive