Depending upon the load order of rules, the output from ip[6]tables-save will vary, as ip[6]_tables_names is sorted LIFO. As reported by Linus van Geuns, this makes comparing output from ip[6]tables-save across reboots difficult. Attached are two patches which attempt to fix this. 1) Sort by default - add 'u' option to unsort 2) Unsorted by default - add 's' option to sort Please apply whichever is preferable. This closes bugzilla #580. Phil Signed-off-by: Phil Oester --- v2: Add option to disable sorting - feedback from Maciej Żenczykowski v3: Provide two patches