diff --git a/_posts/docs/2010-12-07-sorting.mdown b/_posts/docs/2010-12-07-sorting.mdown index a2a93e2..7e2aceb 100644 --- a/_posts/docs/2010-12-07-sorting.mdown +++ b/_posts/docs/2010-12-07-sorting.mdown @@ -72,7 +72,7 @@ For numerical data, we can convert a text value into a number with `parseInt()` getSortData : { // ... number : function ( $elem ) { - return parseInt( $elem.find('.name').text(), 10 ); + return parseInt( $elem.find('.number').text(), 10 ); }, weight : function ( $elem ) { return parseFloat( $elem.find('.weight').text() );