Improved sorting and gave the sections a title