Let's find the joint distribution. When $u \leq v$ then
\begin{align*}
P(U<u,V<v)&=P(\min\{X,Y\}<u,\max\{X,Y\}<v)\\
&=P(X<u,Y<u)+P(X<u,u<Y<v)+P(u<X<v,Y<u)\\
&=P(X<u)P(Y<u)+P(X<u)P(u<Y<v)+P(u<X<v)P(Y<u)\\
&=u^2+2u(v-u)=2uv-u^2
\end{align*}
When $v<u$ then
\begin{align*}
P(U<u,V<v)&=P(\min\{X,Y\}<u,\max\{X,Y\}<v)=v^2
\end{align*}
Hence $f(u,v)=2$ when $u \leq v$ and $f(u,v)=0$ when $v<u$. Then $f(v)=2v$, $f(u)=2(1-u)$. Then $E[U]=1/3$, $E[U^2]=1/6$, $E[V]=2/3$, $E[V^2]=1/2$ and
$$E[UV]=\int_0^1\int_0^{1}uv f(u,v)dudv
=2\int_0^1\int_0^{v}uv dudv
=\int_0^1v^3 dv=\frac{1}{4}$$
Now using this, I get the correlation is $1/2$.
btw. More generally if $X$ and $Y$ are independent and have distributions $F_x$ and $F_y$. Then when $u \leq v$,
\begin{align*}
P(U<u,V<v)&=P(\min\{X,Y\}<u,\max\{X,Y\}<v)\\
&=F_x(u)F_y(u)+F_x(u)(F_y(v)-F_y(u))
+F_y(u)(F_x(v)-F_x(u))\\
&=F_x(v)F_y(u)+F_x(u)F_y(v)-F_x(u)F_y(u)
\end{align*}
and when $v<u$,
$$
P(U<u,V<v)=P(\min\{X,Y\}<u,\max\{X,Y\}<v)=F_x(v)F_y(v)
$$
so $f(v,u)=f_x(v)f_y(u)+f_x(u)f_y(v)$ when $u \leq v$ and $f(v,u)=0$ when $v<u$. Using this you can calculate $E[g(U,V)]$ for any function $g$.