Given the following Javascript object:
{
//none represent no media query
none: "foo",
'@media(max-width:450px)': "foo",
'@media(min-width:1200px)': "foo",
'@media(min-width:768px)': "foo",
}
How can I sort it into an object like this, which resemble the correct stylesheet?
{
//none represent no media query
none: "foo",
'@media(max-width:450px)': "foo",
'@media(min-width:768px)': "foo",
'@media(min-width:1200px)': "foo",
}