$ perl -wE '"sort by CPU" =~ m/sort\s+by\s+(CPU|USER|PID)/ and say $1' CPU