major speed advantage for larger p data frames by sorting empirical missing patterns