var materials = {"Глина" : 10, "Цемент" : 5, "Вода" : 8, "Песок" : 14};
var sort_arr = ["Красители", "Песок", "Цемент", "Вода", "Примеси"];
function objSort (obj , arr) {
var result = {};
arr.forEach(function(name) { if(name in obj) result[name] = obj[name];});
for(var i in obj) result[i] = obj[i];
return result;
}
var materials = objSort(materials, sort_arr)
alert(JSON.stringify(materials))