remove redundant sortable code