Sort entries correctly