Updated ordering for app_fields to use position.