A. Try restarting the app to see if the sorting feature resets. If that doesn't work, check for any available updates for the app in the App Store, as updates often fix bugs.
B. As a temporary workaround, you can try deleting and re-adding the items you want to sort, which may help in getting them to sort correctly.