sorted by compound and year plot this