more parentId for in-group sorting)." ?
Great, you have done it: ifnull+concat. There is another issue with string sort vs numeric sort ("id2" > "id10"). Solution depends on your id format (it's not "idN" i suppose).
Обсуждают сегодня