Skip to content

Instantly share code, notes, and snippets.

@0x8badf00d
Last active August 29, 2015 14:04
Show Gist options
  • Save 0x8badf00d/fa1194320e46c8440047 to your computer and use it in GitHub Desktop.
Save 0x8badf00d/fa1194320e46c8440047 to your computer and use it in GitHub Desktop.
Sorting
[
{
"itemId": "123456",
"definingAttributes": [
{
"attributeName": "Product Length (in.)",
"attributeValue": "10"
},
{
"attributeName": "Product Width (in.)",
"attributeValue": "22"
},
{
"attributeName": "Color",
"attributeValue": "black"
}
]
},
{
"itemId": "112345",
"definingAttributes": [
{
"attributeName": "Product Length (in.)",
"attributeValue": "10"
},
{
"attributeName": "Product Width (in.)",
"attributeValue": "20"
},
{
"attributeName": "Color",
"attributeValue": "red"
}
]
}
.
.
.
.
.
.
.
1000 entries
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment