add entity sort order by id
add entity sort order by id