sort brew pkgs installed order