SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any chance to write a sort expression to sort the items in document library by logged in user.

I want show all the documents and documents uploaded by the current logged in user will display first remaining documents will display next in same view itself.

share|improve this question

Create two web parts with view filters with Assigned To Equals "[Me]" and one with Assigned To Not Equal "[Me]"

The [Me] token is the current user.

You can add useful headers like "My Shared Documents" and "Others Shared Documents"

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.