 
         div className: "#{bn}__toolbar",
           div className: "#{bn}__toolbar-content #{bn}__toolbar-content--right",
+            a
+              href: '#'
+              className: "#{bn}__toolbar-link"
+              'data-type': 'sort'
+              onClick: @changeSort
+              span className: 'btn-osu-lite__right',
+                if @state.sortField == 'updated_at'
+                  osu.trans('beatmaps.discussions.collapse.sort-updated-time')
+                else
+                  osu.trans('beatmaps.discussions.collapse.sort-post-time')
+
             a
               href: '#'
               className: "#{bn}__toolbar-link"

              div className: "#{bn}__timeline-line hidden-xs"

            div null,
              discussions.map @discussionPage

            @timelineCircle()


lp = 'beatmaps.discussions'

class BeatmapDiscussions.Discussions extends React.PureComponent
  constructor: (props) ->
    super props

    @state =
      sortField: 'created_at'


  render: =>
    discussions = @props.currentDiscussions[@props.mode]

