New course! Every coder should learn Generative AI!
Try a free lesson0
It's not clear enough what the task is that your are trying to solve.
And what did you manage to do so far?
If I'm getting the problem right so here is my approach:
use file stream to read from file, have an string array or char array to save each piece of data sort the array by character and that's about it