obter ordenado ResultMap em iBatis

use LInkedHashMap.

sql.xml
<select id = “selectAllByColumnSorted” resultClass = “java.util.LinkedHashMap” parameterClass = “String” remapResults = “true”>

select * from $value$

</ select>