[jakarta-ee] How to select the first element of a set with JSTL?

Using ${mySet.toArray[0]} does not work.

I do not think it is possible without having forEach loop at least one iteration.