sorting gfx half done