Search the element using selection sort technique