Sort lock types so the output ordering is predicatable
Skipping disk_space tests if df doesn't work

df might fail in chroot environments, e.g. on build daemons where
check-postgres packages are built