Sorting in item maintenance.
fix some messages