Fix sorting in component list.