juliocamarero/liferay-portal — pull request #203 by migue (2011-11-29 13:13:05+00:00)
Title: LPS-22522 Switching from Filesystem to JCR hook does not allow version numbers when attaching another file

We need to ensure that all the versions of the file are sorted in an ascending manner (sql select clauses are not derterministic and can vary between executions on the same database and/or different databases)