title: React SWR, how to filter/sort data
body: <p>I have typical get request</p>
  <pre><code>const { data } = useSWR(
    ['api/projects', API_KEY],
    fetcher
  );
  </code></pre>
  <p>And after fetching data I would like to filter items, in my case based on current GPS location.
  So how is better to make this?
  Like <code>onSuccess(data, key, config)</code> store data to my state and after work on filtering?
  Or I should use mutations somehow and filter cached data?</p>