Fix Issue #1 sortBy iterator returns 'any'

Previously returned 'number' but Issue #1 pointed out that number is not
the correct return type but that 'any' is.