List.js 未排序

List.js Not Sorting

我这里有一个简单的列表 codepen that I am trying to sort by number but it is not seem to work. I am following the documentation shown for basic list shown here。我错过了什么?谢谢。

列表的 js

var options = { 
  valueNames = ['date', 'number'] 
};
var ResultDiv = new List('ResultDiv', options);

试试:

var options = { 
  valueNames : ['date', 'number'] 
};
var ResultDiv = new List('ResultDiv', options);