Added in tests for sorting of plant data