compute crc32 and make sure records are sorted within partition.