Added new sort fnc
added new punction