changed order() args for case issue