better selection sort: it will find min && max val every iteration, saving time