Added new selfchecks.
Added two new selfchecks.
Added four useful functions: keys(), values(), sortedKeys() and sortedValues().
Unknown command line options should be sorted to have the stable output.