added sorted insertion into list