Ibuprofen vs mefenamic acid

Which is stronger?

Which is safer to use?