Remove unused code in tween sorting.