Organize location rows into sections