You set up passcode in Sortly iOS app so that if any user gets hold of your iPhone or iPad, they cannot open Sortly without providing the passcode. It is similar to your phone PIN. See below on how to set passcode.
Password is meant for Sortly Cloud account. Sortly cloud account is used for backing up your data to the cloud, so you can login to other devices.