Why it shows gain instead of loss in Capital Gains/Losses Worksheet

see the 1st row, 

the gross sales is 1045.460,

the cost is 1199.013,

 

why the Gain/Loss is positive not negative ?

 

Screenshot 2025-04-05 102916.png