@@ -296,6 +296,7 @@ outstoreform.process_instance_id,
</foreach>
</if>
</where>
+ order by form.id
</select>