fix the sorting by strand