Hi Nayab,
It cant happen like that, in whatever order the records are updated, Qty is also updated accordingly. for the particular key whatever is the Qty, its activated.
As you said you can delete & upload again, you just delete & load once again only for that particular document by putting a filter & see.
Also check the active table...
BR,
Shreesh.