sorting works, and is clickable