plots are sorted