[core] sort first range of suggestions + code clarification