Fix bug in search user api

Fix bug in search user api

1. Add status = 'A' filter in the query

2. Add default sort column in the query.