       memo), {}
     activeStates[name].active = true
     @setState activeStates
-    console.log activeStates
 
   render: ->
     activeState = @state

      sortedProblems.reverse()

  render: ->
    console.log @state.activeSort
    filteredProblems = @filterProblems @props.problems
    <Row className="pad">
      <Col xs={3} md={3}>

      # We shouldn't do anything.

  onSortChange: (name, ascending) ->
    @setState update @state,
      activeSort: $set: {name: name, ascending: ascending}

