Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-8218

Allow to specify reverse order for @Sortable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0-beta-2
    • Component/s: None
    • Labels:
      None

      Description

      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.

      @Sortable(reversed = true)
      class LeaderBoardEntry {
        int points
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jwagenleitner John Wagenleitner
                Reporter:
                Leward Paul-Julien Vauthier
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: