not sue if this version of indexOfAnything is too clever
dbj.EQ.default_comparator  sorted

simple and resilient imp.