add viewSeq, intersectBed; put Sorted type to a separate module