Added codelist sorting in codelists tree