change sorting of the overview node status in javascript