layoutPriorities accepts an object consisting of (optional) integer weights for layout strategy.
The default settings give 50% weight to placing items in sequence and 50% weight to placing them to highest available position. For original Masonry behavior, set shelfOrder: 0.