From 9b7db2a924510ed27355c2eb6a8629d9e413ad93 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 22 Jan 2018 15:09:19 -0500 Subject: [PATCH] Explain the sort algorithm on collate Provide a more thorough explanation of the sort algorithm --- confluent_client/doc/man/collate.ronn | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/confluent_client/doc/man/collate.ronn b/confluent_client/doc/man/collate.ronn index 1f89d3a1..4f8c48b8 100644 --- a/confluent_client/doc/man/collate.ronn +++ b/confluent_client/doc/man/collate.ronn @@ -8,8 +8,11 @@ collate(1) -- Organize text input by node ## DESCRIPTION **collate** takes input in the form of : and groups -the output for each together, and checks for identical data to further group nodes together. It also will sort the output groups so that -the most frequently seen output is printed first, and then other groups in descending order of frequency. +the output for each together, and checks for identical data to further group nodes together. +Output groups are sorted in descending size such that the topmost group is the largest, and the +last output group is the smallest. In the event of equally sized output groups, +the groups are sorted alphanumerically by their header, and each header has +node and group names sorted alphanumerically. ## OPTIONS