added sorting functionality for when new component tab is open