Sorted similarEntities before returning