swift_new: order output of template

Change-Id: I17a4931e3974548b5c759491d434c4bc5271a2f6
Signed-off-by: Giuseppe Lavagetto <glavagetto@wikimedia.org>