Add order option to Store.getGraphsUsingResource()

Add a possibility to order the resulting graphs of
getGraphsUsingResource based on the accordance of their namespaces.