changed makefile for sortplot, which seems to be okay