Add sort function of listgroup.