Add support of empty values in sorting #403. Empty values can now be
forced in first or last position.