Sort and group includes.