sort list() by date