Added missing OrderBy before Skip to users and groups queries

An exception was raised in IDP when trying to view the users list view. The exception described the need to add an OrderBy clause to the query before skip could be performed. The addition in this commit solved the issue.