fix: bulk_api: ensure ordering by id for apps.

[fixes #44243033]