p_val analysis, sorting, and graphing