setup sort emlemnt