Vaadin Treetable - Custom sort to skip parent row

In my Vaadin 7 project, I need to ignore the parent nodes(rows) of a treetable while sorting. I can able to customize the sort using ItemSort. but, I donno how to skip the parent nodes!

FYI: I can able to identify my parent node with its ItemId. Can anyone help me in this?