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-Julien Vauthier (JIRA)" <ji...@apache.org> on 2017/06/04 06:41:04 UTC

[jira] [Updated] (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-Julien Vauthier updated GROOVY-8218:
-----------------------------------------
    Summary: Allow to specify reverse order for @Sortable  (was: Allow to specify reversed order for @Sortable)

> 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
>
> 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
(v6.3.15#6346)