Add event handler on change only once and use build in sort method in js