build-numbered-select-list helper fn.