updated some sortings