added codeval simple sorting