Add sorting bed features to BedIO