We have an array of objects with a certain number of properties in them, we need to sort them by ascending from smaller to larger
var objectArray = [{a : 'a', b : 'b'}, {a : 'a'}, {a : 'a', b : 'b', c : 'c'}]; //вот что по идее должно получится на выходе // [{a : 'a'}, {a : 'a', b : 'b'}, {a : 'a', b : 'b', c : 'c'}]