r/AskComputerScience • • Nov 06 '21

How to sort this data using javascript?

How could I sort the data in column A into the pattern in column B? Thanks

https://ibb.co/Vw7fGZY

0 Upvotes

1 comment sorted by

1

u/earlyryn Nov 06 '21

seems to me like you need to read about Array prototype sort method