Check whether the sort succeeded.
Check that we were able to run readcounts.