sort criteria are resilient
removed bug in status change