
An element with id 456 is prepended

An element with id 789 is prepended

element with id 234 is appended

An element with id 567 is inserted in the position 2

 4 element is in the list
id  = 789, neame = John
id  = 567, neame = Hanson
id  = 456, neame = Mary
id  = 234, neame = Peter

Following is/are element(s) with name Peter
id  = 234, name = Peter

Following is/are element(s) with name Bob
There is/are 0 person(s) named Bob

An element with id 789 is moved

 3 element is in the list
id  = 567, neame = Hanson
id  = 456, neame = Mary
id  = 234, neame = Peter

Following is/are element(s) with name Peter
id  = 234, name = Peter

All elements are cleared.

No element is in the list

All elements are cleared.
