add support for sorting collections with all-items