 		private var _comp:Function = null;
 		
 		private var _num:Number = 0;
-		private var _uniq:Number = 0;
+		private var _distinct:Number = 0;
 		private var _elm:Array = null;
 		
 		private var _minObject:Object = null;

			if (_comp==null) _elm.sort(opt); else _elm.sort(_comp, opt);
			
			// count unique values
			_uniq = 1; var j:uint = 0;
			for (i=1; i<_num; ++i) {
				if (!equal(_elm[i], _elm[j])) { ++_uniq; j=i;	}
			}
			
			// populate stats

		/** A sorted array of all the values. */
		public function get values():Array { return _elm; }
		/** A sorted array of all unique values in the collection. */
		public function get distinctValues():Array {
			// get array with only unique items
			var dists:Array = [];
			if (_elm==null || _elm.length == 0) return dists;
			dists.push(_elm[0]);
			for (var i:int=1, j:int=0; i<_num; ++i) {
				if (!equal(_elm[i], dists[j])) {
					dists.push(_elm[i]); ++j;
				}
			}
			return dists;
		}
		/** The minimum value (for numerical data). */
		public function get minimum():Number { return _min; }
