list_components: Sort the component list