Two results in text compression algorithms

We present two results on text compression. One is a general framework incorporating the context sorting algorithm and the LZ77 algorithm. The other is a pre-processor to block sorting which improves its performance when small block sizes are used.