add support for embedded document sorting in Mongoid