Rearrange order of prototype array so nodes come before their behaviors