Created
November 20, 2018 22:51
-
-
Save MarissaJ/1b7e7a1bf8dbef0c3f6272193461973d to your computer and use it in GitHub Desktop.
After Effects 2019 Sort Column Numbers Ascending
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
values = []; | |
for(i=0;i<=thisComp.layer("Data-Driven-Sample.csv")("Data")("Number of Rows")-1;i++) { | |
values.push(thisComp.layer("Data-Driven-Sample.csv")("Data")("Outline")("Number Data")("Number Data " + i).value); | |
} values.sort((a, b) => a - b); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For more on how to use this expression and download a sample After Effects 2019 file here https://www.fluxvfx.com/data-driven-expressions-for-after-effects-2019/