recentf-directory-compare

recentf-directory-compare is a compiled Lisp function in `recentf.el'.

(recentf-directory-compare F1 F2)

Compare absolute filenames F1 and F2.
First compare directories, then filenames sans directory.
Return non-nil if F1 is less than F2.