Manual Sort - Program Fixed

I've been through each file and fixed the errors cause by last night's
commit, I've tested the program and it appears to be in working order.