Sort the output of 'database show' by key.