Fixed up issue with Comparator class where base class setting the ascending or descending instances would be picked up by subclasses rather than them having their own. Updated check to see if singleton is set by using hasOwnProperty so fields on the prototype won't be considered.
Fixed up issue with Comparator class where base class setting the ascending or descending instances would be picked up by subclasses rather than them having their own. Updated check to see if singleton is set by using hasOwnProperty so fields on the prototype won't be considered.

diadical/d-util