array of soreted json objects obtained