The order is automatically created in the scroll direction, which is set by default. 
What you can do is add a custom layout for the UICollectionView using the layoutAttributesForItemAtIndexPath method to set the frame for each individual cell.
-(UICollectionViewLayoutAttributes *)layoutAttributesForItemAtIndexPath:(NSIndexPath *)indexPath { UICollectionViewLayoutAttributes* attr = [UICollectionViewLayoutAttributes layoutAttributesForCellWithIndexPath:indexPath]; CGRect cellFrame = CGRectMake(, , , ); attr.frame = cellFrame; return attr; }
More information can be found here.
source share