Fixes #753: fixed sorting issue of ActiveDataProvider