Pointel Solutions interview question

1.inserting array and result the array 2.sort array and to find second small value..