It's easy. Just select the gear and then More Settings to customize:
By default, your emails show in chronological order with the newest emails at the top. Select Sort at the top of your inbox to also sort by:
Good to know: You can also organize your emails using folders and filters.