Fixed bug that meant I was sorting song ids as strings rather than ints. Also sort in place now which is a bit faster.