i have this table which simply minus sold mobiles from recv mobile than show in balance mobiles and also plus old row balance whith new row.
|Received Mobiles |M
Why not add sorting to your query? Just add an ORDER BY clause and you should be able invert the order.
ORDER BY