fixed issues with d3plus.util.uniques not maintaining variable type and sorting