Add flag to disable/enable bookmark sorting

The bookmarks are normally sorted, however with a newly introduced
flag this can be disabled.