Exploring horrible ways to sort an array of integers