Sorting keys as per-document values

Issue #251 resolved
Matt Chaput
repo owner created an issue

Currently document sorting field caches are created by un-inverting the inverted index. It would make more sense to mark fields as "sortable" and have them write their field values as per-document data.