Fix sorting when entry is available, but None (null)
Sort preferences