Compress lines - looks better
Correct sort implementation