Straight and simple, following is a sample Json:
{
"2014-05-27": 292,
"2014-05-06": 323,
"2014-05-21": 212,
"2014-05-22": 238,
"2014-05-23": 219
}
As clearly visible the keys are the dates and values are some counter. I need to sort this JSON on basis of dates. I am programming in java and using Jackson library if that helps.