+ Fix attribute category ordering (Fixes #716).