The question contains a geographic misconception. Sudan does have vast deserts (Sahara, Nubian, Bayuda), but there are no swamps adjacent to them.
Massive seasonal wetland/floodplain on White Nile (~57,000 km² wet season). It's a riverine floodplain, not a swamp bordering desert. Hundreds of km separate it from northern deserts.
The transition is gradual: desert → semi-desert → savanna → floodplain—no abrupt swamp-desert interface.