Refactor code to use queue for animation to show sorting and highlight obvious