Apply a sorter to the x values:
measurementmapping = mapping(:Measurement => sorter(df.Measurement), :Values);