In the server response to "blockchain.address.get_history" commands, a transaction's timestamp is set to the time it was included in a block (or 0 while it's in the mempool). This makes it impossible for a client to correctly sort transactions which occurred while the it wasn't connected to the server, and adds a lot of complexity to correctly sorting those which occur when it's connected.
Could the server be updated to report the time a transaction was first received, either instead of the current timestamp value (as the blockchain.info API does) or in another field?
I can provide a patch if you let me know which of these is preferred, ThomasV.
this is not possible. the time a tx was first received depends on the server.
the correct way to sort transactions is to look at their inputs and outputs.