Improve performance on big documents
This MR introduces 2 improvements over Drawing::_candidate_items
- fixing incorrect type used and improving the approach for keeping this list sorted. AFAICT the complexity is reduced from nlogn to logn. This is a nice performance win when working with bigger documents.
Edited by Jabier Arraiza