         @_selectedProject.addEventListener(n.UPDATED, @_notifyProjectUpdated)
         @selectedAccount  = @_data[n.url].account
         @queries          = @_data[n.url].queries
-        @_sortSelectedProjectTop(@_tickets)
+        @_sortTickets(@_tickets)
         @fireEvent(@SELECTED_PROJECT_CHANGED, @, n)
         Log.debug("selectedProject set: " + n.text)
 

    #  order: account -> project -> ticket
    ###
    _sortTickets: (tickets) ->
      tickets.sort (a, b) ->
        if a.url > b.url then return  1
        if a.url < b.url then return -1
        if a.project.id > b.project.id then return  1

        if a.id > b.id then return  1
        if a.id < b.id then return -1
        return 0
      # tickets.map (t) ->
      #   Log.debug "sort:\t id:#{t.id}\tprj:#{t.project.name}"

    ###*
    # filter projects by projectQuery.
