ESDEV-2446 When loading category list sort it the same way as it is sorted when building category tree.