groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (GROOVY-8218) Allow to specify reverse order for @Sortable
Date Sun, 04 Jun 2017 06:42:04 GMT


ASF GitHub Bot commented on GROOVY-8218:

GitHub user Leward opened a pull request:

    GROOVY-8218 @Sortable allows reversed natural ordering

    See [GROOVY-8218](

You can merge this pull request into a Git repository by running:

    $ git pull master

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #558
commit 4f4cdbeeb40ed40c6020f1ddfadca3769ee10b67
Author: Paul-Julien Vauthier <>
Date:   2017-06-04T06:31:48Z

    GROOVY-8218 @Sortable allows reversed natural ordering


> Allow to specify reverse order for @Sortable
> --------------------------------------------
>                 Key: GROOVY-8218
>                 URL:
>             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

View raw message