How do i set an sweps orientation?

Hey guys i am making this sword swep, but the models is sideways!
I have no idea how to fix this because, well it’s my first time making anything for source,

SWEP.Gay = false

joking aside;
http://forum.facepunch.com/showthread.php?t=1332601&p=43150124&viewfull=1#post43150124

should work with a little tweaking, and alternatively you can use a neat little tool called SWEP Construction Kit (Which I’d advise against unless you end up using it for other things that worldmodels)