can.Observe.List.Sort: fix for case when comparator is not a function

The test for can.Observe.List.Sort did not work. Sorting like

        this.comparator = 'name';

did not work as typeof(a===b) === 'boolean'