You've provided no release details; and the commands may have different requirements if different releases are involved (in fact I'd expect that, esp. for more modern releases given LXDE hasn't been a Lubuntu package for numerous release; it's now purely Debian packages).
The mini.iso
is no longer produced either; as it was a by-product of a no-longer used procedure (it was never fully supported by Ubuntu or Canonical). See "Future of MinimialCD" at https://help.ubuntu.com/community/Installation/MinimalCD
Canonical and the Ubuntu project never officially supported the
mini.iso ; it was produced as a by-product of building the
debian-installer. As the Ubuntu Server image now uses subiquity, the
build process that built mini.iso is no longer used, thus why this
installation media is now old.
To answer your question, NO, changing the order in which they appear in the command will not have any impact IF the packages are the same & release details are the same; as you appear to have the same command with just a different order of operands.
Differences in apt
may need to be taken into account as no release is provided, so this advice is generic & assumes my current release.