Add support for sorting bedgraph files