service.xml order custom comparator?service.xml order custom comparator?https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1186832742024-03-29T06:36:36Z2024-03-29T06:36:36ZRE: service.xml order custom comparator?Davide del Vecchiohttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1187852002020-03-20T21:56:59Z2020-03-20T21:56:59ZIn that way it does not order at all.<br />P.S. I'm using Mysql db if is usefulDavide del Vecchio2020-03-20T21:56:59ZRE: service.xml order custom comparator?Mohammed Yasinhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1186946692020-03-09T10:03:37Z2020-03-09T10:03:37Z<html><head></head><body>Hi,<br>you can try below code<pre><code><order by="asc">
&nbsp;&nbsp; &nbsp;<order-column name="name" case-sensitive="false" />
</order>
</code></pre></body></html>Mohammed Yasin2020-03-09T10:03:37Zservice.xml order custom comparator?Davide del Vecchiohttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1186832732020-03-06T17:29:56Z2020-03-06T17:29:56Z<html><head></head><body>Hi,I need to sort strings ignoring the uppercase or lowercase.<br>What's appening is that with the current code, liferay orders Uppercase first and Lowercase next.<br><pre><code><order by="asc">
<order-column name="lastName" />
</order></code></pre>Eg.Aaa, Bbb, aaa, bbb<br>I want them to be:<br>Aaa, aaa, Bbb , bbb or aaa, Aaa, bbb , Bbb<br>In Java i could put somewhere this:Collections.sort(caps, String.CASE_INSE