write rank list