I have two ChIP-seq files. One is a bed ChIP-seq file for protein X. The second is a bigwig ChIP-seq file for another protein (protein Y). How can I extract the data from bed file to sort it from highest to the lowest occupancy? This would be the x-axis. Then, I want to plot bigwig file in the y-axis to see the values for protein Y corresponding to the locations for the protein X (from highest to lowest). Any help is greatly appreciated. Thanks!