The evaling is a robust way to parse the JSON-like binding syntax at the full speed of the browser's native code. Much faster than implementing the parsing in JavaScript.
<button data-bind="click: function() { allItems.sort() }, enable: allItems().length > 1">
Sort
</button>