kanali
kanali copied to clipboard
Sort Decrypt Results
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.