Sort entries in saved-packages file