Inbox layout

My inbox used to separate messages into three sections - Today, Last Week, and Earlier. All of a sudden these sections have disappeared - how can I bring them back (they were very useful)

Go to “Menu / Settings (Preferences) / Mail / Read” and scroll down to “Message List” and check the box marked Show Messages in groups as per the below screenshot.