yay sorting works, sorta kinda...