[Bug 398870] can not sort packages by "state"