Please use the keyword name: `cmp=_compare_stores`.  Much more common these days is to use a key function instead of a compare function, and this will cause some confusion.