diff --git a/Core/src/org/sleuthkit/autopsy/actions/AddTagAction.java b/Core/src/org/sleuthkit/autopsy/actions/AddTagAction.java index e761e0fced..b051fa2238 100755 --- a/Core/src/org/sleuthkit/autopsy/actions/AddTagAction.java +++ b/Core/src/org/sleuthkit/autopsy/actions/AddTagAction.java @@ -20,6 +20,7 @@ package org.sleuthkit.autopsy.actions; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; +import java.util.Collections; import java.util.List; import java.util.logging.Level; import javax.swing.JMenu; @@ -81,6 +82,7 @@ abstract class AddTagAction extends TagAction implements Presenter.Popup { List tagNames = null; try { tagNames = tagsManager.getAllTagNames(); + Collections.sort(tagNames); } catch (TskCoreException ex) { Logger.getLogger(TagsManager.class.getName()).log(Level.SEVERE, "Failed to get tag names", ex); //NON-NLS