No, it's actually pretty standard to sort by something unique like an id to have deterministic ordering so just do it that way. Just make sure in your REST service that you also add an `Order` for the id if it is missing.