nethserver.py (posttrans_hook): ensure package list is sorted respecting RPM dependencies. Refs #1870