Gave the color, cost, type and rarity sort <a> elements corresponding IDs, #sort-color, #sort-cost, #sort-type, #sort-rarity, respectively. Also moved the functions dealing directly with the AI in sealed.js to deck_builder_ui.js. Finally, a pre-framework for universal card sorting has been put forth in sealed.js