finish implementing sort, animation is borked