Add checksum and sort