ldb: load @ATTRIBUTES faster by sorting once, not at each insertion