Filters allow you to sort your inbox in several different ways:
Emails with Attachments
To use filters, tap the Filters icon at the top right of the app, then select Unread, Flagged, or Attachments.
To remove a filter tap the X icon to the right of the filter or tap the Filters icon again.
Note: Flagged items are the same as Starred items for Gmail customers.