GraphQL: Add support for sorting when querying Projects

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

We should support the same sorting criteria as the REST API: https://docs.gitlab.com/ee/api/projects.html#list-all-projects

Return projects ordered by id, name, path, created_at, updated_at, or last_activity_at fields. repository_size, storage_size, or wiki_size fields are only allowed for admins. Default is created_at

Related issue: #224737

See: https://docs.gitlab.com/api/graphql/reference/#queryprojects

Edited by Christina Lohr