I asked an almost identical question about 5 months ago and got a great answer that seemed to work at the time. Since then I have taken a break and have not looked at so much as a line of code. Now that I have some free time, I am realizing I am quite rusty with Javascript.
Link to previous question: https://stackoverflow.com/questions/38470543/sort-divs-using-data-attributes-and-javascript
This is my current JSFiddle. jsfiddle.net/wtckhkdq/3/
As you can see I have 4 divs with a variety of data attributes including price, date of listing, and alphabetical rank. I am trying to get the script working so that when each button is pressed, it sorts the divs according to the referenced function. My JSFiddle will not run properly and after looking it over multiple times I can't seem to find what's wrong. Thanks in advance and happy new years to all!
tags before and after my Javascript... thanks though Dekel
– Taylor Dec 28 '16 at 23:04