work update

work on sorting