Am trying to get the first name of element when inserted in the Component/s field, as we found out that, when second element inserted, under the inspect element, the list gets sorted alphabetically.
For example, If first element inserted starts with alphabet M , and the second element inserted starts with A, on the GUI we will see exactly like that, but under Inspect (right click mouse), the elements get sorted, which means, the second element is now the first element, which we wrongly captured.
Any pointers will be helpful!

