Simplify condition
don't sort array with single element