kanali icon indicating copy to clipboard operation
kanali copied to clipboard

Sort Decrypt Results

Open frankgreco opened this issue 6 years ago • 0 comments

Currently, the results of the kanalictl apikey decrypt command are not sorted by name. It would be nice if they were.

+---------------------------+----------------------------------+
|       API KEY NAME        |              RESULT              |
+---------------------------+----------------------------------+
| one                       | abc123                           |
| two                       | def456                           |
| three                     | ghi789                           |
+---------------------------+----------------------------------+

Make sure that it is an efficient O(nlogn) sort. Merge sort would be a good choice.

frankgreco avatar Apr 20 '18 18:04 frankgreco