fix sortable for many classes.