do not require sorted input in custom streams
Merge pull request #161 from satta/customstream

do not require sorted input in custom streams