added ratio field to gift, updated sorting option to ratio