Sorting arrays mips. I want to know if any further optimization is possible.

Lawn Fungus