Fixes KnightOS/KnightOS#201: Directory entries are sorted

This should work, but my system doesn't have the issue in the first place, to know if it actually fixed it. I don't see any reason why it shouldn't.

I also added a newline to the end of the text that's output if no arguments are given so the prompt won't be on the same line.