Table 3: Read, sort, and write strings