add insert sorted contents feature