refactoring branchloader to use lodash search instead of loading with field ordering