}
/**
- * Sorts the alignment (or current selection) by either average score or
- * density of the specified feature types, and adds to the command history. If
- * {@code types} is null, all visible feature types are used for the sort. If
- * no feature types apply, does nothing.
+ * Sorts the alignment (or current selection) by either average score or density
+ * of the specified feature types, and adds to the command history. If
+ * {@code types} is null, all visible feature types are used for the sort. If no
+ * feature types apply, does nothing.
*
* @param types
* @param methodText
+ * - text shown in Undo/Redo command
* @param method
+ * - passed to
+ * jalview.analysis.AlignmentSorter.sortByFeatures()
*/
protected void sortByFeatures(List<String> types, String methodText,
final String method)