Allow comparator to be a function
Allow comparator to be a function

This is useful for sorting by the value of can.compute
thecountofzero/canjs,Psykoral/canjs,UXsree/canjs,whitecolor/canjs,gsmeets/canjs,janza/canjs,patrick-steele-idem/canjs,shiftplanning/canjs,gsmeets/canjs,patrick-steele-idem/canjs,thecountofzero/canjs,whitecolor/canjs,Psykoral/canjs,Psykoral/canjs,azazel75/canjs,scorphus/canjs,gsmeets/canjs,thomblake/canjs,asavoy/canjs,tracer99/canjs,bitovi/canjs,rasjani/canjs,rjgotten/canjs,patrick-steele-idem/canjs,whitecolor/canjs,rjgotten/canjs,shiftplanning/canjs,rasjani/canjs,janza/canjs,UXsree/canjs,dispatchrabbi/canjs,dispatchrabbi/canjs,beno/canjs,ackl/canjs,rjgotten/canjs,bitovi/canjs,rjgotten/canjs,bitovi/canjs,azazel75/canjs,yusufsafak/canjs,tracer99/canjs,rasjani/canjs,scorphus/canjs,asavoy/canjs,beno/canjs,beno/canjs,Psykoral/canjs,ackl/canjs,rasjani/canjs,yusufsafak/canjs,tracer99/canjs,ackl/canjs,bitovi/canjs,thomblake/canjs