practise package os and function sort