Add sorting optimzation notes.