Sort Object Array Javascript Documentation Generator