does anyone have a function I could use to sort an array of hex colors?
let me be more specific.
as it is the string array looks like this: "808080|525252|D6D6D6|E7EBEB|d73929" for example.
surely we can just use split to convert this to an array.
once an array I hope to find a function that would sort the array of these values, something like from darkest to lightest if at all possible?