Ascending_Num function

Renumbering vector by elemental frequency