Support SQ and handle empty elements
Sorting interface