Added sort_by_strand function