### Godot version

4.0 beta17

### System information

Windows10

### Issue description

call `"".split()`
Is there an infinite loop inside? Function does not return.

### Steps to reproduce

"".split()

### Minimal reproduction project

N/A
} else if (is_digit(*this_str)) {
				if (!is_digit(*that_str)) {
					return -1;
				}
				
				const char32_t *this_substr = this_str;
				const char32_t *that_substr = that_str;
				
				while (is_digit(*this_str)) {
					this_str++;
				}
				while (is_digit(*that_str)) {
					that_str++;
				}
				while (*this_substr == '0') {
					this_substr++;
				}
				while (*that_substr == '0') {
					that_substr++;
				}
				int this_len = this_str - this_substr;
				int that_len = that_str - that_substr;
				if (this_len < that_len) {
					return -1;
				} else if (this_len > that_len) {
					return 1;
				}
				
				while (this_substr != this_str && that_substr != that_str) {
					if (*this_substr < *that_substr) {