Vue JS Filtering & Sorting

Vue 2.0 filtering and sorting with computed properties.

Being new to Vue, I figured a good way to get acquainted with the library was by doing something I figure I'll end up doing if I use it: filtering and sorting a dataset. Normally, I figure the dataset would be loaded in via AJAX. There are quite a bit of items in the JS (100), but I tried to keep that part to the bottom of the file and include lots of comments. I couldn't find a great example of this with a quick Google search that used the newer version of Vue, so hopefully this'll help others out there!

Also uses the Fuse JS library for fuzzy searching.

Sort By
Sort Order
Gender
ID First Last Email Gender IP