I have more than one address in the wallet, and sometimes I'd like to sort the btc received based on which address received it. I haven't yet found a way to see which address received a payment without clicking "browse" and opening up a particular transation in a block exploring website. Is there a way to sort "received" based on address? Or just to show, for each received, which address received it?
I did not implement anything like this. Generally it is not recommended to manage addresses manually.
Hmm, I thought that was one of the main reasons you might provide "names" for addresses. If I give you an address to pay me on and I name it "payments_from_AS" then if I want to see how much you've paid me or if you've paid me recently, I want some way to see only the payments to this address, right? What other reason do we have for "naming" addresses in receiving addresses?
That's right, it used to be like this. It works because most clients still reuse addresses (including Bitcoin Wallet). In future, addresses will not be reused, so there is no point in labeling them.
Information about who and for what you paid will be attached to the transactions themselves, or in the far future payment objects that bundle 1..n transactions.
I'm sure when we're at that point there will be ways to search, e.g. for payments to a specific merchant.