Questions Tags Users Unanswered

how to sort FileList by size in javascript

Question is open.
Be the first to answer this question. (1 voice) (3638 views)
Hi i have a filelist which is created when u drag a image to contaner.
But i want a image to sort by size before or after added to the filelist so that i can process the image in order.

Tried sort but it doesnt works as it is not array and also its showing in log as objet. Can anyone help me with the same.

Any help is deeply appreciated.

Your Answer

Limit of files to attach: 3 / Max total size: 1024 KB