Add comparator for NSRange