This one surprised me, because the order flips without any flag saying so.
When -g is used together with -n, journalctl implies --reverse. The command above therefore prints the five most recent lines that contain timeout, newest on top. Without -n you get the whole history in the usual oldest-first order.
journalctl -g timeout -n 5
If you pipe the result into a script that expects oldest first, add -n +5 or sort it yourself. The reverse order only applies when -n is a plain number.
Further reading: journalctl(1) manual page