Kanban board sorting

am trying kanban board using go.js. i would like to sort the nodes based upon the key (new task should be displayed on top in each lane, old task follow). Even though i sort them in stored procedure & in server side, but when binding the data in kanban board, the sorting does not work as expected… Can any one provide a solution for this on how to achieve this.

The layout of the nodes within a lane is determined by the Group.layout. In that sample the layout is a GridLayout. You can modify its GridLayout.comparer to sort the nodes however you like. Note how the current comparer function operates on the current Y coordinate of the nodes, to allow users to re-order them by dragging them. But you can order them by key or by modification date or whatever you like.

thank you… it worked for me.