Suppose you need to load this in an alias in pig but don't want the header. So, we can execute the below set of commands to remove the header.
A = load 'pigtest.txt' using PigStorage(',') as (id: chararray, name: chararray, sal: chararray);
ranked = rank A;
no_header = filter ranked by (rank_A > 1);
ordered = order no_header by rank_A;
new_A = foreach ordered generate id, name, sal;
Now, let's dump the new data,
dump new_A;