Keep memory list ordered