added ability to sort masses in sample_mf