Having Two Prototype cells in one UICollectionViewController

I wrote the following code (which is really confusing) and I am trying to display multiple types of prototype cells, so that at first everything of one type is displayed and then the others...

I wrote this Code to reach this:

func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
    var Buyeds = 0
    for i in 0 ..< BuyedColorsBTIDs.count{
        if BuyedColorsTrues[i] == true{
            Buyeds = Buyeds + 1
        }
    }
    return NormalColors.count + Buyeds
}


func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {

    if indexPath.row <= NormalColors.count {
        let cell1  = collectionView.dequeueReusableCell(withReuseIdentifier: "StandardColors", for: indexPath) as! NormalCCollectionViewCell

        cell1.ColorBtn.backgroundColor = NormalColors[(indexPath.row)]
        cell1.ColorBtn.layer.cornerRadius = 30
        cell1.ColorBtn.layer.borderWidth = 2
        cell1.ColorBtn.layer.borderColor = UIColor.white.cgColor
        cell1.ColorBtn.addTarget(self,action: #selector(PickNormalColor(_:)),for: .touchUpInside)

        if DrawingColor == NormalColors[indexPath.row] {
            cell1.ColorBtn.layer.borderColor = UIColor.lightGray.cgColor
            cell1.ColorBtn.layer.borderWidth = 4
            print("Muss Klpn")
            print(cell1.ColorBtn.layer.borderWidth)
        }

        return cell1
    } else {
        let cell2 = collectionView.dequeueReusableCell(withReuseIdentifier: "BuyedColors", for: indexPath) as! BuyedCCollectionViewCell
        for i in 0 ..< BuyedColorsBTIDs.count {
            if BuyedColorsTrues[i] == true {
                cell2.ColorBtn.backgroundColor = BuyedColors[indexPath.row + i]
                if DrawingColor == NormalColors[indexPath.row + i] {
                    cell2.ColorBtn.layer.borderColor = UIColor.lightGray.cgColor
                    cell2.ColorBtn.layer.borderWidth = 4
                    print("Muss Klpn")
                    print(cell2.ColorBtn.layer.borderWidth)
                }
            }
        }

        cell2.ColorBtn.layer.cornerRadius = 30
        cell2.ColorBtn.layer.borderWidth = 2
        cell2.ColorBtn.layer.borderColor = UIColor.white.cgColor
      return cell2
    }

}

EDIT:

    var BuyedColorsBTIDs = [
   "63675Cyan",
   "12345Red"
    ]

var BuyedColorsTrues = [
false,
false


]
var BuyedColors = [

    UIColor.cyan,
    UIColor.magenta

]

I know this code is not really good and it would be very nice if someone could help me.

Thanks in advance.