Like multi-column sorting. For example,
{1,3,5} > {1,2,5} would return True, while
{1,3,5} > {1,5,2} would return False.
I'm betting there's a simple term for this and that term would lead straight to some function, but I can't think of the term. It'd be a trivial function to write, but there must be something built-in...
(I'm looking for a predicate I can supply to this PriorityQueue implementation.)
OrderedQ... $\endgroup$*Qfunctions, even after thinking the word "Predicate"—I guess I'd only seen more primitive*Qfunctions so didn't think I'd find my answer there. In case this question might help someone else searching the terms I've used, could you post your comment as an answer? Thanks. $\endgroup$