A better idea would be to have a law that no airline pilot could make less than an air traffic controller.
This is of course highly unlikely and unrealistic as is trying to control any groups salary.
Lets not try and drag others salaries down,lets move ours up.
A place to start is by not working for companies that pay abysmal salaries in the first place.
25k a year isn't enough for any adult working full time. We are collectively dragging ourselves down by always saying so and so makes too much. Its a vicious cycle of jealousy that favors management's desire to drive down wages in every line of work. Its part of the reason that its hard to get sympathy from the public for our plight; everyone thinks we make too much for watching the plane fly itself.
Pilots are pretty good at this but instead of saying so and so makes too much we should be saying, "I don't make enough."