Better documentation (fixed copy-paste leftover tool name)

git-svn-id: https://svn.apache.org/repos/asf/velocity/tools/trunk@1770712 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/velocity-tools-generic/src/main/java/org/apache/velocity/tools/generic/CollectionTool.java b/velocity-tools-generic/src/main/java/org/apache/velocity/tools/generic/CollectionTool.java
index e7d2d0f..12b2a27 100644
--- a/velocity-tools-generic/src/main/java/org/apache/velocity/tools/generic/CollectionTool.java
+++ b/velocity-tools-generic/src/main/java/org/apache/velocity/tools/generic/CollectionTool.java
@@ -37,10 +37,10 @@
  * within the collection, and to generate arrays by splitting strings.
  * </p>
  *
- * <p>The sort tool is specifically designed to use within a #foreach
+ * <p>The sort functionality is specifically designed to use within a #foreach
  * but you may find other uses for it.</p>
  *
- * <p>The sort tool can handle all of the collection types supported by
+ * <p>The sort methods can handle all of the collection types supported by
  * #foreach and the same constraints apply as well as the following.
  * Every object in the collection must support the set of properties
  * selected to sort on. Each property which is to be sorted on must
@@ -76,7 +76,7 @@
  * End
  * </pre>
  *
- * The sort method takes two parameters a collection and a property name
+ * The sort method takes two parameters, a collection and a property name
  * or an array of property names. The property names and corresponding
  * methods must conform to java bean standards since commons-beanutils
  * is used to extract the property values.</p>
@@ -456,7 +456,7 @@
                     else
                     {
                         //FIXME: log this
-                        // invalide property sort type. use default instead.
+                        // invalid property sort type. use default instead.
                         sortTypes[i] = TYPE_ASCENDING;
                     }
                 }