Sort Object Array Javascript Append String