fixed plot, added truncated, sort order