fixed ordering tasks by title functionality and added an animation to  the UI refresh