Smith Code MIPS Helmet sort