Update dependencies in cabal-install.cabal

Testing this was a little tricky because of issues related to #1229 but I think it's okay. Would be worth someone double-checking just in case.

Since it was necessary to reshuffle the dependency list anyway, I took the liberty of alphasorting it, except with base and Cabal at the top because they are in some sense the most important. I don't know if that's what people want, but I'm happy to change the formatting to whatever people feel is appropriate – might as well do it now, while we're touching it.