order, sorter(): replace "Integer" type optimization by "number" which is what is returned by JavaScript typeof operator