You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2018/03/06 23:26:12 UTC

[jira] [Closed] (GROOVY-8218) Allow to specify reverse order for @Sortable

     [ https://issues.apache.org/jira/browse/GROOVY-8218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King closed GROOVY-8218.
-----------------------------

> Allow to specify reverse order for @Sortable
> --------------------------------------------
>
>                 Key: GROOVY-8218
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8218
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Paul-Julien Vauthier
>            Assignee: John Wagenleitner
>            Priority: Minor
>             Fix For: 2.5.0-beta-2
>
>
> When using the Sortable annotation it is not possible to use reverse order. 
> For a leaderboard, you may want to sort its entries by points. 
> {code}
> @Sortable(reversed = true)
> class LeaderBoardEntry {
>   int points
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)