apply class to node label based on user-provided (sorted) array of threshold values to allow for styling via CSS