Write a procedure in SPIM that sorts 4 numbers.

The following algorithm outline may be useful: