added checkpoint to compare buffer values after SORT routine