Working (or failing to work) the Weighted Grade system

How do selective colleges then choose between students whose high school weighs gpa and those that don’t? It seems to be a convoluted system overall in light of the comments in this thread.