Fix: cohort was wrong if values were not sorted
Fix: cohort was wrong if values were not sorted

getredash/redash,chriszs/redash,vishesh92/redash,guaguadev/redash,akariv/redash,crowdworks/redash,jmvasquez/redashtest,amino-data/redash,amino-data/redash,ninneko/redash,easytaxibr/redash,moritz9/redash,44px/redash,44px/redash,denisov-vlad/redash,pubnative/redash,M32Media/redash,akariv/redash,imsally/redash,denisov-vlad/redash,useabode/redash,stefanseifert/redash,useabode/redash,hudl/redash,EverlyWell/redash,ninneko/redash,chriszs/redash,pubnative/redash,EverlyWell/redash,crowdworks/redash,vishesh92/redash,crowdworks/redash,guaguadev/redash,rockwotj/redash,getredash/redash,alexanderlz/redash,imsally/redash,moritz9/redash,jmvasquez/redashtest,stefanseifert/redash,imsally/redash,ninneko/redash,alexanderlz/redash,denisov-vlad/redash,M32Media/redash,alexanderlz/redash,denisov-vlad/redash,imsally/redash,easytaxibr/redash,M32Media/redash,getredash/redash,useabode/redash,useabode/redash,easytaxibr/redash,amino-data/redash,getredash/redash,chriszs/redash,guaguadev/redash,pubnative/redash,EverlyWell/redash,ninneko/redash,jmvasquez/redashtest,pubnative/redash,rockwotj/redash,stefanseifert/redash,44px/redash,chriszs/redash,denisov-vlad/redash,alexanderlz/redash,vishesh92/redash,pubnative/redash,easytaxibr/redash,44px/redash,guaguadev/redash,ninneko/redash,rockwotj/redash,stefanseifert/redash,EverlyWell/redash,crowdworks/redash,akariv/redash,rockwotj/redash,hudl/redash,vishesh92/redash,hudl/redash,akariv/redash,getredash/redash,jmvasquez/redashtest,hudl/redash,akariv/redash,jmvasquez/redashtest,easytaxibr/redash,moritz9/redash,moritz9/redash,stefanseifert/redash,amino-data/redash,M32Media/redash,guaguadev/redash