[API] correct ordering of peak patterns