Sort entry