reverses order of main community query