Changed output order of results