Now it's unfair to compare the S25 Ultra to the A56...the chances of you choosing one or the other is highly unlikely given the price point, HOWEVER, for a first round of comparison, see below (I will also be doing something similar with A35)
The A56 is top on all, S25 Ultra is below.

1x

10x on both (but S25u has the obvious advantage of 5x lens)

Dedicated macro on A56, UW on S25u

1x

Crop from the photo above 12mp 1x

UW

50mp 1x on both

Crop from photo above comparison from 50mp photo
Technically speaking; there is no contest for the S25u here...but it does really challenge whatyou want from a phone camera?
The A56 isclearly capable of capturing a good scene, remembering a place, a holiday, photos of your pet..and the skill of art photography is mostly in the person holding the lens...not the equipment (but it helps)
Gus out.
**Photos IG: @slappa_da_tubs | Videos YT: @gusbandicoot **