Sort a grid with some empty cells

I have an editable Grid/Table where the cells can be edited. For a column, you can have some filled cells plus not yet filled ones. The sorting is available. How to I have to treat the sorting? enter image description here

I was thinking to do:

  • Sorting A-Z - Display the empty cells at the end.
  • Sorting Z-A - Display the empty cells first.

enter image description here

What do think about that? Thanks in advance for your help.