SO sorting now allows drawing them in the right order