.
Joseph is five years older than Timothy.
Timothy is seven years younger than Mathew.
Write the names from smallest to the big one
~~~~~~~~~~~~~~
@MathLover1 chose the most complicated and convoluted/confused way to present the solution.
I will choose the most simple and straightforward way.
Let Timothy be "t" years old.
Then Joseph is (t+5) years old and Mathew is (t+7) years old, according to the condition.
The numbers follow in this ascending order t, t+5, t+7.
Hence, the names ordering is this: Timothy, Joseph, Mathew, from youngest to oldest.