tion comparatorName(a, b) {
          return $(a).data('name') < $(b).data('name') ? -1 : 1;
        }
        function comparatorPopularity(a, b) {
          return $(a).data('popularity') > $(b).data('popularity') ? -1 : 1;
        }
        function comparatorPrice(a, b) {
          return $(a).data('price') > $(b).data('price') ? -1 : 1;
        }

        // Get a reference to your grid items.
        var wookmark,
            $sortbys = $('#sortbys li');

        // Call the layout function.
        w