@@ -898,7 +898,7 @@
</where>
<include refid="orderBy"></include>
<if test="orderField == null ">
- order by "materialCount" DESC
+ order by "materialCount" DESC nulls last
</if>
</select>