prototype of append method
prototype of append method
First draft of append method with bulky comparator