implemented ordered and reversed list adding