Are you importing the animate.css file from the installed animate.css package? For example, add the following import to the top of your Template:
// This will import the animate.css file from the /node_modules/animate.css/
// package location
import 'animate.css/animate.css';
...
Template.Item.events({
...
In your event, it looks like your listener is setup to listen for a click on an element with a class of sort, but then you’re adding the animation class to an element with an id of sort. Is this accurate? Does your element look something like:
... id="sort" class="sort" ...
or did you mean to use the same class or id in your listener definition and jQuery reference lookup?