### Godot version

16a93563bf

### System information

macOS 13.3.0 - Vulkan (Forward+) - integrated Apple M1 Pro - Apple M1 Pro (8 Threads)

### Issue description

As tittle says some properties are badly located as location others whoch means they are put way below others. One of such example is the property `texture` of `Sprite2D`.

### Steps to reproduce

in any script write 
```
var sprite : Sprite2D
sprite.text
```
and autocomplete at the end texture will appears below a lot of other signal and constants starting with texture which should come afterward

### Minimal reproduction project

N/A
if (_debug_parse_err_line >= 0) {
		return nullptr;
	}
	ERR_FAIL_INDEX_V(p_level, _call_stack.stack_pos, nullptr);
	int l = _call_stack.stack_pos - p_level - 1;
	ScriptInstance *instance = _call_stack.levels[l].instance;
	return instance;
}
void GDScriptLanguage::debug_get_globals(List<String> *p_globals, List<Variant> *p_values, int p_max_subitems, int p_max_depth) {
	const HashMap<StringName, int> &name_idx = GDScriptLanguage::get_singleton()->get_global_map();
	const Variant *gl_array = GDScriptLanguage::get_singleton()->get_global_array();
	List<Pair<String, Variant>> cinfo;
	get_public_constants(&cinfo);
	for (const KeyValue<StringName, int> &E : name_idx) {
		if (ClassDB::class_exists(E.key) || Engine::get_singleton()->has_singleton(E.key)) {
			continue;
		}
		bool is_script_constant = false;