just to make sure this is working the way you intend it to:
You want books with an author and an editor to be sorted before everything else, yes? Presumably because they're collections of primary sources?