removed looots of spaces, almost 5am dont dare to judge me
printed array before and after sort