You asked:

is alofi south of stockholm

Yes. Stockholm is a location north of Alofi.
Alofi
Alofi
Alofi

Stockholm
Stockholm
Stockholm