If you dug around in the research literature on aspirin, you'd probably find (I'm guessing) a couple of papers showing that aspirin has no painkilling effect.
However, this is the ranking that I would give them based on the reports in the literature and factoring in the likelihood of a bad reaction causing death: safest = aspirin, also safe but less so = acetaminophen and less safe = ibuprofen.