Sorting items

Items can now be sorted. At the moment, a spinner is placed on the top
of the screen. It has not yet been decided where it will be, but it will
later be styled.