set sort order to id instead of unknown internal_id