change entry layout and sort entries