Add sort_median to exports