Hi,

I have data in a format like as,
Qt Code:
  1. QList<QPair<QString, QJsonValue>> sessionList
To copy to clipboard, switch view to plain text mode 

Check the sample data of sessionList
QPair("2717b2bb-aa1f-460e-b6ff-c932114a8b99",QJsonValue(object, QJsonObject({"CreatedAt":"2019-06-18T10:34:37.3501135","FileName":"imgLeft8bitColor_ 000000050.png","FrameIndex":30,"ImageGuid":"76d453 ed-0950-424d-952f-b20d1f0c921f","IsKeyframe":false, "TabGuid":"2717b2bb-aa1f-460e-b6ff-c932114a8b99"})))
QPair("078f7119-844d-4c31-9eee-c695f2c9adbb",QJsonValue(object, QJsonObject({"CreatedAt":"2019-06-18T11:21:58.5620774","FileName":"imgLeft8bitColor_ 000000050.png","FrameIndex":30,"ImageGuid":"3c9517 ae-6c96-4746-8279-1c143339f576","IsKeyframe":false, "TabGuid":"078f7119-844d-4c31-9eee-c695f2c9adbb"})))
Like above I have more data that I want to sort based on QPair.first(consider as key)(say, "078f7119-844d-4c31-9eee-c695f2c9adbb").
So what sorting algorithm I should use which sort my QJsonValue for the same type of key in one container?

Note: Key count can vary