stringify sortmem