change backgrounds and sort