Uhh , i don't understand, why would the order matter?
I mean you have 100 in the bank
You go to walmart and spend 80 dollars
and go out to eat and spent 30
no matter what
100-80-30 == 100 -30 -80 = -10
Now what I am forced to assume you mean is you cashed some check or something before you went out that gave you 100 dollars in your account? but the charge came before your check went through?
This makes sense since often it takes up to 3 days for deposits to clear- even though they may show up beforehand (they show up so that people don't freak out and think the bank isn't processing them).
In any case, it's not the bank's fault what order they appear. Different companies take diff amounts of time to process payments. Your bank i'm sure does not differentiate between any of them, their credit server most likely is completely automated and just process them as they are sent and approved to it.