insertion in order is working