sorting knockout matches by id