Fixed sorted memlist bug.