refactor display crud sorting!