The Dock can show your most recent apps or up to 10 of your favorite apps. When you choose Recents, your apps appear in the order that you opened them. When you choose Favorites, you can choose the apps that appear, but your most recently used app still appears at the top of the Dock. If it's not already a favorite, you can tap Keep in Dock to add it.

Here's how to choose what appears: