Make raw list ordered.