Add sorting of the processed key lines so that "good" keys are output