AC: sortObjectByKeys() for inserting Objects