Merge pull request #32 from Xarthisius/rtvd_ordering

Change index ordering in rtvd related routines
Merge branch 'master' of https://github.com/piernik-dev/piernik
Merge branch 'master' into fargo_merge