Fix the sorting in the management table