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

Allow to specify reverse order for @Sortable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.5.0-beta-2
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: