pre-generate sorted list for yesod field