add sorting to ko-jsrender