When Data is the Algorithm: A Systematic Study and Curation of Preference Optimization Datasets