I recently answered a question on SO that was a couple of hours old and had no answer. I later came back and found a second answer sorted before mine based on age. After investigating, I saw that the answer had been deleted prior to my looking/posting and then undeleted later, but retained the age of the original answer.
Is this the appropriate behavior? I spent considerable effort doing the investigation that led to my answer which I probably would/could have avoided if I'd been aware of the deleted answer. Further, since the undeleted answer was more thorough, it looks like I added a less thorough answer later in some misguided attempt to get points or because I didn't understand that mine didn't add any value. It also occurs to me that people could "game" the current system by answering and quickly deleting their answer in order to get the "pole position" on undelete, although in no way do I think that's what happened here.
I realize this is a tails case and that if I'm willing to give up the rep points, I can at least partially address my concern by deleting my answer at this point, but I thought I'd raise the question. Would it make sense to use the undeleted age for answer sorting purposes? Or should the behavior be kept as is?