Add support to sortable fields in the config of tile

Closes #248