Refactors. Can now sort based on parameters. Also, it's just cooler.