Just re-ordering stuff
Now printIndex print sorted dictionary