Deck editor sorting

This implements the ability to sort columns by number and price in the deck editor by clicking on the column headers.

There is one graphical bug that I would like to sort out, but I'm not sure where to begin debugging it. When changing the sort column or sort order by clicking on a column header, the card selection gets split. It gives the appearance of the selected card's number column and some other card's name and price columns being selected. The attached picture show what I'm talking about.
![scrot-2014-02-18-202016](https://f.cloud.github.com/assets/1253592/2202886/b10370c6-990e-11e3-8675-f29bd6bb4750.png)

I was hoping for some pointers on where to look for the source of this bug before digging too deeply into it.