refactorNum function

Sort numeric factor levels by values