added partial support for sort-bed process