Add sorting and animation.