fixed entry layout.  correct entry sorting