yats.git

commit 3d473f4ebb4edaf7f7185d17ea54bdb0244bba7c

Author: Paolo Lulli <paolo@lulli.net>

Sort keys

 client/main.go | 2 ++


diff --git a/client/main.go b/client/main.go
index 2546b4ac7319925a5a8084336f01243a23ddc359..67bcaf7e96eb7fc6d041665c60cf0c72c4bcacf6 100644
--- a/client/main.go
+++ b/client/main.go
@@ -14,6 +14,7 @@ 	"encoding/base64"
 	"encoding/json"
 	"fmt"
 	"os"
+	"sort"
 	"time"
 	"yats/config"
 
@@ -236,6 +237,7 @@ 					var keys []string
 					for k := range dataMap {
 						keys = append(keys, k)
 					}
+					sort.Strings(keys)
 
 					for _, k := range keys {
 						fmt.Printf("\"%v\"%s", k, recordSeparator)