Create purchased filter

When accessing stories by account id, if the 'purchased' filter is used, only stories that have been purchased will appear, and they will be sorted by how many times they have been purchased.
I prefer the `order(published_at: :desc)` over `order('published_at desc')`, but that is just a personal preference. I try to avoid using strings of SQL when possible.